From 819d8575506144a16e3171ac5e892b39e8ecb68b Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 8 Dec 2008 15:03:45 +0000 Subject: [PATCH] Do not build tests --- apps/streaming/java/build.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apps/streaming/java/build.xml b/apps/streaming/java/build.xml index 568367033b..a32ca077c3 100644 --- a/apps/streaming/java/build.xml +++ b/apps/streaming/java/build.xml @@ -25,7 +25,14 @@ <mkdir dir="./build" /> <mkdir dir="./build/obj" /> <javac - srcdir="./src:./test" + srcdir="./src" + debug="true" deprecation="on" source="1.5" target="1.5" + destdir="./build/obj" + classpath="../../../core/java/build/i2p.jar:../../ministreaming/java/build/mstreaming.jar" /> + </target> + <target name="compileTest" depends="compile"> + <javac + srcdir="./test" debug="true" deprecation="on" source="1.5" target="1.5" destdir="./build/obj" classpath="../../../core/java/build/i2p.jar:../../ministreaming/java/build/mstreaming.jar" /> @@ -33,6 +40,9 @@ <target name="jar" depends="builddep, compile"> <jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*.class" /> </target> + <target name="jarTest" depends="jar, compileTest"> + <jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*Test*.class" update="true" /> + </target> <target name="javadoc"> <mkdir dir="./build" /> <mkdir dir="./build/javadoc" /> -- GitLab