Skip to content
This repository
Newer
Older
100644 89 lines (79 sloc) 2.828 kb
e6973869 »
2010-08-08 add copyright and license information
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- ======================================================================
decf4f5f » google-feinberg
2010-08-12 working build!
3 Aug 8, 2010 10:37:58 AM
e6973869 »
2010-08-08 add copyright and license information
4
decf4f5f » google-feinberg
2010-08-12 working build!
5 processing.py
e6973869 »
2010-08-08 add copyright and license information
6 Write processing sketches in Python
decf4f5f » google-feinberg
2010-08-12 working build!
7
8 jdf
e6973869 »
2010-08-08 add copyright and license information
9 ====================================================================== -->
decf4f5f » google-feinberg
2010-08-12 working build!
10 <project name="processing.py" default="jar">
22ee4201 »
2010-08-18 Create ant targets for making distributions.
11 <description>
e6973869 »
2010-08-08 add copyright and license information
12 Write processing sketches in Python
22ee4201 »
2010-08-18 Create ant targets for making distributions.
13 </description>
14
15 <target name="newversion" depends="bumpversion,clean,dist" />
16
17 <target name="dist" depends="jar">
33824e80 »
2010-08-26 fix build, method sort order
18 <property file="runtime/src/jycessing/buildnumber.properties"
22ee4201 »
2010-08-18 Create ant targets for making distributions.
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="."
272657c5 »
2010-08-29 strip .class files from dist
27 includes="examples.py/**,libraries/processing/**"
28 excludes="**.class"/>
22ee4201 »
2010-08-18 Create ant targets for making distributions.
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">
06dd7428 »
2010-08-21 don't put tests in distro
39 <fileset dir="bin" excludes="jycessing/build/**,test/**" />
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
40 <zipgroupfileset file="buildtime/lib/jython/jython.jar" />
41 <zipgroupfileset file="buildtime/lib/processing/core.jar" />
22ee4201 »
2010-08-18 Create ant targets for making distributions.
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" />
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
50 <javac classpath="buildtime/lib/jython/jython.jar:buildtime/lib/processing/core.jar"
22ee4201 »
2010-08-18 Create ant targets for making distributions.
51 destdir="bin">
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
52 <src path="runtime/src" />
53 <src path="runtime/generated" />
22ee4201 »
2010-08-18 Create ant targets for making distributions.
54 </javac>
55 <copy todir="bin">
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
56 <fileset dir="runtime/src" excludes="**/*.java" />
22ee4201 »
2010-08-18 Create ant targets for making distributions.
57 </copy>
58 </target>
59
d6aec5fb »
2010-08-25 tifying
60 <target name="generate-driver"
61 description="Generate DriverImpl class">
62 <java classpath="buildtime/lib/jython/jython.jar:buildtime/lib/processing/core.jar"
63 classname="org.python.util.jython"
64 fork="true">
65 <arg value="buildtime/py/cog.py"/>
66 <arg value="-U"/>
67 <arg value="-o"/>
68 <arg value="runtime/generated/jycessing/DriverImpl.java"/>
69 <arg value="buildtime/template/DriverImpl.java.cog"/>
70 </java>
71 </target>
22ee4201 »
2010-08-18 Create ant targets for making distributions.
72
73 <target name="clean">
74 <delete dir="bin" />
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
75 <delete file="runtime/generated/jycessing/DriverImpl.java" />
22ee4201 »
2010-08-18 Create ant targets for making distributions.
76 <mkdir dir="bin" />
77 </target>
78
79 <target name="bumpversion">
b3c24cc4 »
2010-08-21 try to organize things better as they get complex
80 <propertyfile file="runtime/src/jycessing/buildnumber.properties">
22ee4201 »
2010-08-18 Create ant targets for making distributions.
81 <entry key="buildnumber"
82 type="int"
83 operation="+"
84 pattern="0000"
85 default="0000" />
86 </propertyfile>
87 </target>
88
e6973869 »
2010-08-08 add copyright and license information
89 </project>
Something went wrong with that request. Please try again.