Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (53 sloc) 1.699 kb
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
Aug 8, 2010 10:37:58 AM
processing.py
Write processing sketches in Python
jdf
====================================================================== -->
<project name="processing.py" default="jar">
<description>
Write processing sketches in Python
</description>
<target name="jar" depends="build">
<jar destfile="processing-py.jar">
<fileset dir="bin" excludes="jycessing/build/**"/>
<zipgroupfileset file="lib/jython/jython.jar"/>
<zipgroupfileset file="lib/processing/core.jar"/>
<manifest>
<attribute name="Main-Class" value="jycessing.Runner" />
</manifest>
</jar>
</target>
<target name="build" depends="generate-driver">
<mkdir dir="bin" />
<javac
classpath="lib/jython/jython.jar:lib/processing/core.jar"
destdir="bin">
<src path="src"/>
<src path="generated"/>
<exclude name="jycessing/build/**"/>
</javac>
</target>
<target name="generate-driver"
depends="build-driver-generator"
description="Generate DriverImpl class">
<java
classpath="bin:lib/processing/core.jar"
classname="jycessing.build.DriverGenerator"
fork="true" />
</target>
<target name="build-driver-generator">
<mkdir dir="bin" />
<javac
srcdir="src"
includes="jycessing/build/**"
classpath="lib/processing/core.jar"
destdir="bin" />
</target>
<target name="clean">
<delete dir="bin"/>
<delete file="generated/jycessing/DriverImpl.java"/>
<mkdir dir="bin"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.