Author: nextgens
Date: 2005-12-16 14:37:33 +0000 (Fri, 16 Dec 2005)
New Revision: 7717
Modified:
trunk/freenet/build.xml
Log:
Fixing the ant buildfile ; now we are including 'freenet-ext.jar' in the
classpath
Modified: trunk/freenet/build.xml
===================================================================
--- trunk/freenet/build.xml 2005-12-16 14:12:39 UTC (rev 7716)
+++ trunk/freenet/build.xml 2005-12-16 14:37:33 UTC (rev 7717)
@@ -20,6 +20,10 @@
<!-- FIXME: remove the debug and replace with optimize -->
<javac srcdir="${src}" destdir="${build}" debug="on" optimize="on"
source="1.4">
+ <compilerarg value="-Xlint"/>
+ <classpath>
+ <pathelement location="freenet-ext.jar"/>
+ </classpath>
<!-- following a very temporary list of files to be build -->
<include name="org/**/*.java"/>
<include name="freenet/**/*.java"/>
@@ -56,5 +60,11 @@
<delete dir="${build}"/>
<!--<delete><fileset dir="src" includes="**/*.class"/></delete>-->
</target>
+ <target name="distclean" description="Delete class files and docs dir.">
+ <delete dir="${build}"/>
+ <delete file="freenet-cvs-snapshot.jar"/>
+ <delete file="freenet-ext.jar"/>
+ <!--<delete><fileset dir="src" includes="**/*.class"/></delete>-->
+ </target>
</project>