Here's a build.xml file that updates from cvs and then
compiles the source tree into the bin directory.
The directory structure is -
freenet-0.3/build.xml
freenet-0.3/src/Freenet/
freenet-0.3/bin/Freenet/
The xml is -
<project name="freenet" default="build" basedir=".">
<target name="cvs">
<cvs dest="./src" command="update -Pd" />
</target>
<target name="build" depends="cvs">
<javac srcdir="src"
destdir="bin"
excludes="**/sim/**,**/contrib/**,**/client/old/**,
**/client/gui/**,**/client/B*" />
</target>
</project>
There is a fair amount of code in the source tree that won't build,
and has to be excluded.
David Schutt
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev