Files
processing4/net/build.xml
benfry efa37300e9 fix
2010-02-06 03:46:20 +00:00

25 lines
784 B
XML

<?xml version="1.0"?>
<project name="Processing Net Library" default="build">
<target name="clean" description="Clean the build directories">
<delete dir="bin" />
<delete file="library/net.jar" />
</target>
<target name="compile" description="Compile sources">
<condition property="core-built">
<available file="../core/core.jar" />
</condition>
<fail unless="core-built" message="Please build the core library first and make sure it sits in ../core/core.jar" />
<mkdir dir="bin" />
<javac target="1.5"
srcdir="src" destdir="bin"
classpath="../core/core.jar" />
</target>
<target name="build" depends="compile" description="Build net library">
<jar basedir="bin" destfile="library/net.jar" />
</target>
</project>