Author: nextgens
Date: 2007-09-17 21:14:09 +0000 (Mon, 17 Sep 2007)
New Revision: 15207
Modified:
trunk/freenet/build.xml
Log:
build.xml: Add a new condition to the unit-build target so that compilation
succeeds even if junit isn't in the classpath
Modified: trunk/freenet/build.xml
===================================================================
--- trunk/freenet/build.xml 2007-09-16 16:45:53 UTC (rev 15206)
+++ trunk/freenet/build.xml 2007-09-17 21:14:09 UTC (rev 15207)
@@ -126,7 +126,7 @@
<!-- ================================================== -->
- <target name="unit-build" depends="compile">
+ <target name="unit-build" depends="compile" if="junit.present">
<javac srcdir="${test}" destdir="${build-test}" debug="on"
optimize="on" source="1.4">
<classpath>
<pathelement path="${build}"/>