1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Index: cmdreader/build.xml
===================================================================
--- cmdreader.orig/build.xml
+++ cmdreader/build.xml
@@ -105,7 +105,7 @@ and finally call CmdReader.of(ThatClass.
<target name="compile" depends="ensureBuildDeps" description="Compiles program code">
<mkdir dir="build/prog" />
- <javac destdir="build/prog" target="1.5" source="1.5">
+ <javac destdir="build/prog" target="1.5" source="1.5" includeantruntime="false">
<src path="src" />
<classpath refid="build.path" />
</javac>
@@ -113,7 +113,7 @@ and finally call CmdReader.of(ThatClass.
<target name="compileTests" depends="compile, ensureTestDeps" description="Compiles test code">
<mkdir dir="build/tests" />
- <javac destdir="build/tests" source="1.5" target="1.5">
+ <javac destdir="build/tests" source="1.5" target="1.5" includeantruntime="false">
<src path="test" />
<classpath refid="test.path" />
<classpath>
@@ -150,6 +150,7 @@ and finally call CmdReader.of(ThatClass.
<classpath>
<pathelement path="build/prog" />
<pathelement path="build/tests" />
+ <pathelement location="/usr/share/java/hamcrest-core.jar" />
</classpath>
<batchtest>
<fileset dir="test">
|