diff options
author | Wade Walker <[email protected]> | 2018-12-28 09:45:06 -0600 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-16 23:59:35 +0200 |
commit | 760295dc597b3a91bf011115dd7bfad9c0c37f82 (patch) | |
tree | f8f3ae67f5d1c24daf730defa6104f76aa84c0bd /nbproject | |
parent | 93121714758f89a394993f0740c6929f48fb887b (diff) |
Fixed java.home directory and removed obsolete tools.jar
In Java 9+, there's no longer a "jre" directory in the installation, so
removed references to it. The tools.jar file also no longer exists in
Java installations (it's now stored in a secret non-JAR format), so
removed that as well.
Diffstat (limited to 'nbproject')
-rw-r--r-- | nbproject/ide-file-targets.xml | 14 | ||||
-rwxr-xr-x | nbproject/project.xml | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/nbproject/ide-file-targets.xml b/nbproject/ide-file-targets.xml index 7f1c61b..064cbe5 100644 --- a/nbproject/ide-file-targets.xml +++ b/nbproject/ide-file-targets.xml @@ -5,21 +5,21 @@ <target name="compile-test"> <mkdir dir="build/test/build/classes"/> <javac debug="true" debuglevel="lines,vars,source" destdir="build/test/build/classes" failonerror="false" source="1.5" srcdir="test/junit"> - <classpath path="build/test/build/classes:build/classes:build/test/gensrc/java:lib/antlr-3.2.jar:make/lib/junit.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <classpath path="build/test/build/classes:build/classes:build/test/gensrc/java:lib/antlr-3.2.jar:make/lib/junit.jar:${ant.core.lib}"/> </javac> </target> <target name="compile-selected-files-in-junit"> <fail unless="files">Must set property 'files'</fail> <mkdir dir="build/test/build/classes"/> <javac debug="true" debuglevel="lines,vars,source" destdir="build/test/build/classes" includes="${files}" source="1.5" srcdir="test/junit"> - <classpath path="build/test/build/classes:build/classes:build/test/gensrc/java:lib/antlr-3.2.jar:make/lib/junit.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <classpath path="build/test/build/classes:build/classes:build/test/gensrc/java:lib/antlr-3.2.jar:make/lib/junit.jar:${ant.core.lib}"/> </javac> </target> <target depends="compile-test" name="run-selected-file-in-junit"> <fail unless="run.class">Must set property 'run.class'</fail> <java classname="${run.class}" failonerror="true" fork="true"> <classpath> - <path path="build/test/build/classes:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <path path="build/test/build/classes:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${ant.core.lib}"/> </classpath> </java> </target> @@ -29,7 +29,7 @@ <test name="${run.class}"/> <jvmarg value="-Djava.library.path=${basedir}/build/test/build/natives:${basedir}/build/obj"/> <classpath> - <path path="build/test/build/classes:build/test/gensrc/java:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <path path="build/test/build/classes:build/test/gensrc/java:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${ant.core.lib}"/> </classpath> <formatter type="brief" usefile="false"/> </junit> @@ -37,7 +37,7 @@ <target depends="compile-test" name="debug-selected-file-in-junit"> <fail unless="run.class">Must set property 'debug.class'</fail> <path id="cp"> - <path path="build/test/build/classes:build/test/gensrc/java:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}"/> + <path path="build/test/build/classes:build/test/gensrc/java:build/classes:lib/antlr-3.2.jar:make/lib/junit.jar:${ant.core.lib}"/> </path> <nbjpdastart addressproperty="jpda.address" name="GlueGen" transport="dt_socket"> <classpath refid="cp"/> @@ -57,7 +57,7 @@ <fail unless="run.class">Must set property 'run.class'</fail> <java classname="${run.class}" failonerror="true" fork="true"> <classpath> - <pathelement path="build/classes:${jdk.home}/lib/tools.jar:/lib/antlr-3.2.jar"/> + <pathelement path="build/classes:/lib/antlr-3.2.jar"/> <pathelement location="build/classes"/> </classpath> </java> @@ -68,7 +68,7 @@ <fail unless="files">Must set property 'files'</fail> <mkdir dir="build/classes"/> <javac destdir="build/classes" includes="${files}" source="1.5" srcdir="src/java"> - <classpath path="build/classes:${jdk.home}/lib/tools.jar:${ant.core.lib}:lib/antlr-3.2.jar"/> + <classpath path="build/classes:${ant.core.lib}:lib/antlr-3.2.jar"/> </javac> </target> </project> diff --git a/nbproject/project.xml b/nbproject/project.xml index 654f87f..8e3a87b 100755 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -224,20 +224,20 @@ <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2"> <compilation-unit> <package-root>src/java</package-root> - <classpath mode="compile">build/classes:${jdk.home}/lib/tools.jar:/usr/share/ant/lib/ant.jar:/home/mbien/netbeans68/java3/ant/lib/ant.jar:make/lib/antlr.jar</classpath> + <classpath mode="compile">build/classes:/usr/share/ant/lib/ant.jar:/home/mbien/netbeans68/java3/ant/lib/ant.jar:make/lib/antlr.jar</classpath> <built-to>build/classes</built-to> <source-level>1.5</source-level> </compilation-unit> <compilation-unit> <package-root>build/gensrc/java</package-root> - <classpath mode="compile">build/classes:make/lib/antlr.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}</classpath> + <classpath mode="compile">build/classes:make/lib/antlr.jar:${ant.core.lib}</classpath> <built-to>build/classes</built-to> <source-level>1.5</source-level> </compilation-unit> <compilation-unit> <package-root>test/junit</package-root> <unit-tests/> - <classpath mode="compile">build/classes:build/test/build/classes:make/lib/antlr.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}:make/lib/junit.jar</classpath> + <classpath mode="compile">build/classes:build/test/build/classes:make/lib/antlr.jar:${ant.core.lib}:make/lib/junit.jar</classpath> <built-to>build/classes</built-to> <source-level>1.5</source-level> </compilation-unit> @@ -253,7 +253,7 @@ <compilation-unit> <package-root>src/junit</package-root> <unit-tests/> - <classpath mode="compile">build/classes:build/test/build/classes:make/lib/antlr.jar:${jdk.home}/lib/tools.jar:${ant.core.lib}:make/lib/junit.jar</classpath> + <classpath mode="compile">build/classes:build/test/build/classes:make/lib/antlr.jar:${ant.core.lib}:make/lib/junit.jar</classpath> <source-level>1.5</source-level> </compilation-unit> </java-data> |