Skip to content
Newer
Older
100644 61 lines (53 sloc) 1.66 KB
e697386 @jdf add copyright and license information
authored
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- ======================================================================
decf4f5 @google-feinberg working build!
google-feinberg authored
3 Aug 8, 2010 10:37:58 AM
e697386 @jdf add copyright and license information
authored
4
decf4f5 @google-feinberg working build!
google-feinberg authored
5 processing.py
e697386 @jdf add copyright and license information
authored
6 Write processing sketches in Python
decf4f5 @google-feinberg working build!
google-feinberg authored
7
8 jdf
e697386 @jdf add copyright and license information
authored
9 ====================================================================== -->
decf4f5 @google-feinberg working build!
google-feinberg authored
10 <project name="processing.py" default="jar">
11 <description>
e697386 @jdf add copyright and license information
authored
12 Write processing sketches in Python
decf4f5 @google-feinberg working build!
google-feinberg authored
13 </description>
14
15 <target name="jar" depends="build">
16 <jar destfile="processing-py.jar">
17 <fileset dir="bin" excludes="jycessing/build/**"/>
18 <zipgroupfileset file="lib/jython/jython.jar"/>
19 <zipgroupfileset file="lib/processing/core.jar"/>
20 <manifest>
21 <attribute name="Main-Class" value="jycessing.Runner" />
22 </manifest>
23 </jar>
24 </target>
e697386 @jdf add copyright and license information
authored
25
decf4f5 @google-feinberg working build!
google-feinberg authored
26 <target name="build" depends="generate-driver">
27 <mkdir dir="bin" />
28 <javac
29 classpath="lib/jython/jython.jar:lib/processing/core.jar"
30 destdir="bin">
31 <src path="src"/>
32 <src path="generated"/>
33 <exclude name="jycessing/build/**"/>
34 </javac>
35 </target>
e697386 @jdf add copyright and license information
authored
36
decf4f5 @google-feinberg working build!
google-feinberg authored
37 <target name="generate-driver"
38 depends="build-driver-generator"
39 description="Generate DriverImpl class">
40 <java
41 classpath="bin:lib/processing/core.jar"
42 classname="jycessing.build.DriverGenerator"
43 fork="true" />
44 </target>
e697386 @jdf add copyright and license information
authored
45
decf4f5 @google-feinberg working build!
google-feinberg authored
46 <target name="build-driver-generator">
47 <mkdir dir="bin" />
48 <javac
49 srcdir="src"
50 includes="jycessing/build/**"
51 classpath="lib/processing/core.jar"
52 destdir="bin" />
53 </target>
e697386 @jdf add copyright and license information
authored
54
decf4f5 @google-feinberg working build!
google-feinberg authored
55 <target name="clean">
56 <delete dir="bin"/>
57 <delete file="generated/jycessing/DriverImpl.java"/>
58 <mkdir dir="bin"/>
59 </target>
e697386 @jdf add copyright and license information
authored
60 </project>
Something went wrong with that request. Please try again.