Skip to content

Commit eeea49f

Browse files
committed
Corrected typos in build.xml
modified: build.xml
1 parent 05e85ac commit eeea49f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

drjava/build.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
<property environment="env" />
3939
<property name="java-home" value="${env.JAVA_HOME}" />
40+
<property name="java8-home" value="${env.JAVA8_HOME}" />
4041
<property name="findbugs-home" value="${env.FINDBUGS_HOME}" />
4142

4243
<property name="is-development" value="yes" /> <!-- Development or stable release -->
@@ -178,7 +179,7 @@
178179
Compilation Targets
179180
******************* -->
180181

181-
<!-- The following target assumes that javac resolves to a Java 8 compiler -->
182+
<!-- The following target assumes that java.home resolves to a Java 8 JDK distro -->
182183
<target name="compile" depends="generate-source, do-compile, copy-resources, unjar-libs"
183184
description="Compile all source files (after generating the source)">
184185
</target>
@@ -189,7 +190,7 @@
189190

190191
<mkdir dir="classes/base" />
191192
<mkdir dir="classes/test" />
192-
193+
193194
<!-- Move any test classes back to base to prevent recompilation -->
194195
<move todir="classes/base">
195196
<fileset dir="classes/test" includes="**/*" />
@@ -229,7 +230,6 @@
229230
<!-- Additional test classes should be listed here -->
230231
</fileset>
231232
</move>
232-
233233
</target>
234234

235235
<target name="copy-resources">
@@ -364,7 +364,6 @@
364364

365365
</target>
366366

367-
368367
<target name="do-test" depends="resolve-jvm-args">
369368
<echo message="Running all tests matching '${test-filter-string}' with command '${test-jvm}', using '${junit-jar-to-include}' and '${test-tools}'" />
370369
<jacoco:coverage xmlns:jacoco="antlib:org.jacoco.ant">
@@ -422,7 +421,6 @@
422421
</jacoco:report>
423422
</target>
424423

425-
426424
<target name="run" depends="compile" description="Run the main class (after compiling)">
427425
<antcall target="do-run">
428426
<param name="run-jvm" value="java" />
@@ -893,7 +891,7 @@
893891
<property name="current-tools-2" location="${java.home}/lib/tools.jar" />
894892
<available property="current-tools" value="${current-tools-2}" file="${current-tools-2}" />
895893

896-
<fail message="Can't find tools.jar in extib or the Java home: ${java.home}" unless="current-tools" />
894+
<fail message="Can't find tools.jar in extlib or the Java home: ${java.home}" unless="current-tools" />
897895
</target>
898896

899897
<target name="assert-jar-exists">

0 commit comments

Comments
 (0)