add streaming lib tests to the top-level ant targets

This commit is contained in:
zab2
2013-06-28 18:48:39 +00:00
parent a9d9e6b572
commit 10bf74e045
3 changed files with 140 additions and 4 deletions

View File

@@ -31,6 +31,23 @@
</javac>
</target>
<target name="compileTest" depends="jar">
<mkdir dir="./buildTest" />
<mkdir dir="./buildTest/obj" />
<javac
srcdir="./test/junit"
debug="true" deprecation="on" source="1.5" target="1.5"
includeAntRuntime="false"
destdir="./buildTest/obj"
classpath="../../../core/java/build/i2p.jar:./build/mstreaming.jar" >
<compilerarg line="${javac.compilerargs}" />
</javac>
</target>
<target name="jarTest" depends="jar, compileTest">
<jar destfile="./build/mstreamingTest.jar" basedir="./buildTest/obj" includes="**/*.class" update="true" />
</target>
<target name="listChangedFiles" depends="jarUpToDate" if="shouldListChanges" >
<exec executable="mtn" outputproperty="workspace.changes" errorproperty="mtn.error2" failifexecutionfails="false" >
<arg value="list" />
@@ -85,6 +102,7 @@
</target>
<target name="clean">
<delete dir="./build" />
<delete dir="./buildTest" />
</target>
<target name="cleandep" depends="clean">
</target>