Files
processing4/java/libraries/net/build.xml

31 lines
975 B
XML

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