Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 91 lines (80 sloc) 2.961 kb
e697386 Jonathan Feinberg 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 Jonathan Feinberg add copyright and license information
authored
4
decf4f5 google-feinberg working build!
google-feinberg authored
5 processing.py
e697386 Jonathan Feinberg add copyright and license information
authored
6 Write processing sketches in Python
decf4f5 google-feinberg working build!
google-feinberg authored
7
8 jdf
e697386 Jonathan Feinberg add copyright and license information
authored
9 ====================================================================== -->
decf4f5 google-feinberg working build!
google-feinberg authored
10 <project name="processing.py" default="jar">
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
11 <description>
e697386 Jonathan Feinberg add copyright and license information
authored
12 Write processing sketches in Python
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
13 </description>
14
15 <target name="newversion" depends="bumpversion,clean,dist" />
16
17 <target name="dist" depends="jar">
33824e8 Jonathan Feinberg fix build, method sort order
authored
18 <property file="runtime/src/jycessing/buildnumber.properties"
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
19 prefix="jycessing" />
20 <property name="dist" value="processing.py-${jycessing.buildnumber}" />
21 <delete dir="dist" />
22 <mkdir dir="dist/${dist}" />
23 <copy todir="dist/${dist}">
24 <fileset file="processing-py.jar" />
25 <fileset file="LICENSE.txt" />
26 <fileset dir="."
272657c Jonathan Feinberg strip .class files from dist
authored
27 includes="examples.py/**,libraries/processing/**"
28 excludes="**.class"/>
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
29 </copy>
30 <zip basedir="dist" includes="${dist}/**" destfile="dist/${dist}.zip" />
31 <tar compression="gzip"
32 basedir="dist"
33 includes="${dist}/**"
34 destfile="dist/${dist}.tgz" />
35 </target>
36
37 <target name="jar" depends="build">
38 <jar destfile="processing-py.jar">
06dd742 Jonathan Feinberg don't put tests in distro
authored
39 <fileset dir="bin" excludes="jycessing/build/**,test/**" />
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
40 <zipgroupfileset file="buildtime/lib/jython/jython.jar" />
41 <zipgroupfileset file="buildtime/lib/processing/core.jar" />
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
42 <manifest>
43 <attribute name="Main-Class" value="jycessing.Runner" />
44 </manifest>
45 </jar>
46 </target>
47
48 <target name="build" depends="generate-driver">
49 <mkdir dir="bin" />
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
50 <javac classpath="buildtime/lib/jython/jython.jar:buildtime/lib/processing/core.jar"
6c3c045 Jonathan Feinberg Ensure consistent builds across ant versions and installations
authored
51 destdir="bin"
52 includeantruntime="false">
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
53 <src path="runtime/src" />
54 <src path="runtime/generated" />
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
55 </javac>
56 <copy todir="bin">
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
57 <fileset dir="runtime/src" excludes="**/*.java" />
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
58 </copy>
59 </target>
60
d6aec5f Jonathan Feinberg tifying
authored
61 <target name="generate-driver"
62 description="Generate DriverImpl class">
7d1ce74 Jonathan Feinberg Update to latest 2.0 beta. 50% of tests pass.
authored
63 <java classpath="buildtime/lib/jython/jython.jar:buildtime/lib/processing/core.jar:libraries/processing/opengl/jogl-all.jar:libraries/processing/opengl/gluegen-rt.jar"
d6aec5f Jonathan Feinberg tifying
authored
64 classname="org.python.util.jython"
65 fork="true">
66 <arg value="buildtime/py/cog.py"/>
67 <arg value="-U"/>
68 <arg value="-o"/>
69 <arg value="runtime/generated/jycessing/DriverImpl.java"/>
70 <arg value="buildtime/template/DriverImpl.java.cog"/>
71 </java>
72 </target>
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
73
74 <target name="clean">
75 <delete dir="bin" />
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
76 <delete file="runtime/generated/jycessing/DriverImpl.java" />
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
77 <mkdir dir="bin" />
78 </target>
79
80 <target name="bumpversion">
b3c24cc Jonathan Feinberg try to organize things better as they get complex
authored
81 <propertyfile file="runtime/src/jycessing/buildnumber.properties">
22ee420 Jonathan Feinberg Create ant targets for making distributions.
authored
82 <entry key="buildnumber"
83 type="int"
84 operation="+"
85 pattern="0000"
86 default="0000" />
87 </propertyfile>
88 </target>
89
e697386 Jonathan Feinberg add copyright and license information
authored
90 </project>
Something went wrong with that request. Please try again.