This prevents warnings like this:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
---
build.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.xml b/build.xml
index 0b009aa..158a8a5 100644
--- a/build.xml
+++ b/build.xml
@@ -42,8 +42,8 @@
</target>
<target name="build" depends="init" description="builds the
code and jar files">
- <javac srcdir="src/main/java" includes="**/*.java"
classpathref="compile.classpath" destdir="target/classes" />
- <javac srcdir="src/test/java" includes="**/*.java"
classpathref="test.classpath" destdir="target/testclasses" />
+ <javac srcdir="src/main/java" debug="${javac.debug}"
includes="**/*.java" classpathref="compile.classpath"
destdir="target/classes" includeAntRuntime="false" />
+ <javac srcdir="src/test/java" debug="${javac.debug}"
includes="**/*.java" classpathref="test.classpath"
destdir="target/testclasses" includeAntRuntime="false" />
<jar destfile="${jar.file}" basedir="target/classes" />
</target>
--
1.7.9.5
--
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>
Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern