Trying to fix the Jenkins build..

This commit is contained in:
zab2
2013-06-28 20:50:38 +00:00
parent 10bf74e045
commit 14944982fb

View File

@@ -38,6 +38,17 @@
<ant dir="../../../apps/ministreaming/java/" target="jarTest" /> <ant dir="../../../apps/ministreaming/java/" target="jarTest" />
</target> </target>
<target name="junit.compileTest" depends="builddeptest, compile"> <target name="junit.compileTest" depends="builddeptest, compile">
<echo message="[DEBUG] ant home is ${ant.home}" />
<echo message="[DEBUG] junit home before override is ${junit.home}" />
<echo message="[DEBUG] hamcrest home before override is ${hamcrest.home}" />
<property name="junit.home" value="${ant.home}/lib" />
<property name="hamcrest.home" value="${ant.home}/lib" />
<echo message="[DEBUG] junit home after override is ${junit.home}" />
<echo message="[DEBUG] hamcrest home after override is ${hamcrest.home}" />
<javac <javac
srcdir="./test/junit" srcdir="./test/junit"
debug="true" deprecation="on" source="1.5" target="1.5" debug="true" deprecation="on" source="1.5" target="1.5"
@@ -47,7 +58,8 @@
<pathelement location="../../../core/java/build/i2p.jar" /> <pathelement location="../../../core/java/build/i2p.jar" />
<pathelement location="../../ministreaming/java/build/mstreaming.jar" /> <pathelement location="../../ministreaming/java/build/mstreaming.jar" />
<pathelement location="../../ministreaming/java/build/mstreamingTest.jar" /> <pathelement location="../../ministreaming/java/build/mstreamingTest.jar" />
<pathelement location="${ant.home}/lib/junit4.jar" /> <pathelement location="${junit.home}/junit4.jar" />
<pathelement location="${hamcrest.home}/hamcrest.jar" />
</classpath> </classpath>
<compilerarg line="${javac.compilerargs}" /> <compilerarg line="${javac.compilerargs}" />
</javac> </javac>