|
36 | 36 | <property name="drjava.test.config" value="testFiles/drjava.basic.config" /> |
37 | 37 |
|
38 | 38 | <property environment="env" /> |
39 | | - <property name="java8-home" value="${env.JAVA8_HOME}" /> |
| 39 | + <property name="java-home" value="${env.JAVA_HOME}" /> |
40 | 40 | <property name="findbugs-home" value="${env.FINDBUGS_HOME}" /> |
41 | 41 |
|
42 | 42 | <property name="is-development" value="yes" /> <!-- Development or stable release --> |
|
197 | 197 | <echo message="jrelibs=${toString:jrelibs}" /> |
198 | 198 | <javac srcdir="src" destdir="classes/base" source="1.7" target="1.7" |
199 | 199 | bootclasspath="${java8-runtime}" sourcepath="" includeAntRuntime="no" |
200 | | - executable="${java8-home}/bin/javac" fork="yes" memoryMaximumSize="1024M" |
| 200 | + executable="${java-home}/bin/javac" fork="yes" memoryMaximumSize="1024M" |
201 | 201 | debug="on" optimize="off" deprecation="on" > |
202 | 202 | <classpath> |
203 | 203 | <!-- TODO: Remove this dependency on tools.jar by refactoring and moving all the dependent |
|
848 | 848 | <!-- We rely on "location" to generate a platform-specific path; note that properties |
849 | 849 | are immutable and so java8-runtime will only be set the *first* time. --> |
850 | 850 |
|
851 | | - <property name="java8-runtime-1" location="${java8-home}/lib/rt.jar" /> |
| 851 | + <property name="java8-runtime-1" location="${java-home}/lib/rt.jar" /> |
852 | 852 | <available property="java8-runtime" value="${java8-runtime-1}" file="${java8-runtime-1}" /> |
853 | 853 |
|
854 | | - <property name="java8-runtime-2" location="${java8-home}/jre/lib/rt.jar" /> |
| 854 | + <property name="java8-runtime-2" location="${java-home}/jre/lib/rt.jar" /> |
855 | 855 | <available property="java8-runtime" value="${java8-runtime-2}" file="${java8-runtime-2}" /> |
856 | 856 |
|
857 | | - <property name="java8-runtime-3" location="${java8-home}/../Classes/classes.jar" /> |
| 857 | + <property name="java8-runtime-3" location="${java-home}/../Classes/classes.jar" /> |
858 | 858 | <available property="java8-runtime" value="${java8-runtime-3}" file="${java8-runtime-3}" /> |
859 | 859 |
|
860 | 860 | <echo message="java8-runtime = ${java8-runtime}" /> |
861 | 861 |
|
862 | | - <fail message="Can't find rt.jar in the Java 8 home: ${java8-home}" unless="java8-runtime" /> |
| 862 | + <fail message="Can't find rt.jar in the Java 8 home: ${java-home}" unless="java8-runtime" /> |
863 | 863 | </target> |
864 | 864 |
|
865 | 865 | <target name="resolve-java8-exec"> |
866 | 866 | <!-- We rely on "location" to generate a platform-specific path --> |
867 | 867 |
|
868 | | - <property name="java8-exec-1" location="${java8-home}/bin/java.exe" /> |
| 868 | + <property name="java8-exec-1" location="${java-home}/bin/java.exe" /> |
869 | 869 | <condition property="java8-exec" value="${java8-exec-1}"> |
870 | 870 | <and> |
871 | 871 | <available file="${java8-exec-1}" /> |
872 | 872 | <os family="windows" /> |
873 | 873 | </and> |
874 | 874 | </condition> |
875 | 875 |
|
876 | | - <property name="java8-exec-2" location="${java8-home}/bin/java" /> |
| 876 | + <property name="java8-exec-2" location="${java-home}/bin/java" /> |
877 | 877 | <available property="java8-exec" value="${java8-exec-2}" file="${java8-exec-2}" /> |
878 | 878 |
|
879 | | - <fail message="Can't find the java executable in the Java 8 home: ${java8-home}" unless="java8-exec" /> |
| 879 | + <fail message="Can't find the java executable in the Java 8 home: ${java-home}" unless="java8-exec" /> |
880 | 880 | </target> |
881 | 881 |
|
882 | 882 | <target name="resolve-java8-tools"> |
883 | | - <property name="java8-tools-1" location="${java8-home}/lib/tools.jar" /> |
| 883 | + <property name="java8-tools-1" location="${java-home}/lib/tools.jar" /> |
884 | 884 | <available property="java8-tools" value="${java8-tools-1}" file="${java8-tools-1}" /> |
885 | 885 |
|
886 | | - <property name="java8-tools-2" location="${java8-home}/../lib/tools.jar" /> |
| 886 | + <property name="java8-tools-2" location="${java-home}/../lib/tools.jar" /> |
887 | 887 | <available property="java8-tools" value="${java8-tools-2}" file="${java8-tools-2}" /> |
888 | 888 |
|
889 | | - <property name="java8-tools-3" location="${java8-home}/../Classes/classes.jar" /> |
| 889 | + <property name="java8-tools-3" location="${java-home}/../Classes/classes.jar" /> |
890 | 890 | <available property="java8-tools" value="${java8-tools-3}" file="${java8-tools-3}" /> |
891 | 891 |
|
892 | | - <fail message="Can't find tools.jar in the Java 8 home: ${java8-home}" unless="java8-tools" /> |
| 892 | + <fail message="Can't find tools.jar in the Java 8 home: ${java-home}" unless="java8-tools" /> |
893 | 893 | </target> |
894 | 894 |
|
895 | 895 | <target name="resolve-current-tools"> |
|
0 commit comments