diff --git a/core/java/build.xml b/core/java/build.xml index 425caa5f865e0ba0c4b36c67ab40aa7191a8e40e..a4d5957c782ac1b98fbb3b5ba869effb4a7fb174 100644 --- a/core/java/build.xml +++ b/core/java/build.xml @@ -72,7 +72,7 @@ <target name="compileTest"> <mkdir dir="./build" /> <mkdir dir="./build/obj" /> - <!-- junit classes are in ant runtime --> + <!-- junit and hamcrest classes should be in ant runtime --> <javac srcdir="./src:./test" debug="true" source="1.5" target="1.5" deprecation="on" includeAntRuntime="true" destdir="./build/obj" > @@ -119,6 +119,9 @@ <sysproperty key="net.sourceforge.cobertura.datafile" file="./cobertura.ser" /> <classpath> <pathelement path="${classpath}" /> + <pathelement location="${ant.home}/lib/hamcrest-core.jar" /> + <pathelement location="${ant.home}/lib/hamcrest-library.jar" /> + <pathelement location="${ant.home}/lib/hamcrest-integration.jar" /> <pathelement location="./build/obj_cobertura" /> <pathelement location="./build/obj" /> <pathelement location="../../build/jbigi.jar" />