1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
We don't include the "methods" source or jar, so we skip that task. The upstream repository
should contain a PApplet that matches with the other packages anyway. Also rename the jar
file to processing-core.jar because a jar file called core.jar in /usr/share/java is going
to be confusing.
Index: processing-core-1.2.1/build.xml
===================================================================
--- processing-core-1.2.1.orig/build.xml 2010-02-07 20:53:59.000000000 +0000
+++ processing-core-1.2.1/build.xml 2011-04-09 23:20:01.610193586 +0100
@@ -3,14 +3,14 @@
<target name="clean" description="Clean out the build directories">
<delete dir="bin" />
- <delete file="core.jar" />
+ <delete file="processing-core.jar" />
</target>
<target name="compile" description="Compile">
- <taskdef name="methods"
+<!-- <taskdef name="methods"
classname="PAppletMethods"
classpath="methods/methods.jar" />
- <methods dir="${basedir}/src/processing/core" />
+ <methods dir="${basedir}/src/processing/core" />-->
<mkdir dir="bin" />
<javac target="1.5"
@@ -20,7 +20,7 @@
</target>
<target name="build" depends="compile" description="Build core library">
- <jar basedir="bin" destfile="core.jar" />
+ <jar basedir="bin" destfile="processing-core.jar" />
</target>
</project>
|