Skip to content

Commit b831568

Browse files
committed
Added descriptions.
1 parent 5c65222 commit b831568

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

build.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@
1212
<mkdir dir="${build.classes.dir}"/>
1313
</target>
1414

15-
<target name="compile" depends="init">
15+
<target name="compile" depends="init"
16+
description="Compile all source files.">
1617
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
1718
optimize="on" debug="on" deprecation="on"
1819
includeantruntime="false">
1920
<compilerarg value="-Xlint"/>
2021
</javac>
2122
</target>
2223

23-
<target name="jar" depends="compile">
24+
<target name="jar" depends="compile"
25+
description="Generate the jarfile distributable.">
2426
<jar destfile="${jar}" basedir="${build.classes.dir}">
2527
<manifest>
2628
<attribute name="Main-Class"
@@ -29,16 +31,16 @@
2931
</jar>
3032
</target>
3133

32-
<target name="run" depends="jar">
34+
<target name="run" depends="jar" description="Run the application.">
3335
<java jar="${jar}" fork="true"/>
3436
</target>
3537

36-
<target name="clean">
38+
<target name="clean" description="Delete all generated files.">
3739
<delete dir="${build.dir}"/>
3840
<delete file="${jar}"/>
3941
</target>
4042

41-
<target name="format">
43+
<target name="format" description="Run the indenter on all source files.">
4244
<for param="file">
4345
<path>
4446
<fileset dir="${src.dir}" includes="**/*.java"/>
@@ -67,7 +69,7 @@
6769
</javac>
6870
</target>
6971

70-
<target name="test" depends="test-compile">
72+
<target name="test" depends="test-compile" description="Run all tests.">
7173
<junit>
7274
<classpath>
7375
<pathelement path="${build.classes.dir}"/>

0 commit comments

Comments
 (0)