-
-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy pathbuild.xml
More file actions
41 lines (32 loc) · 942 Bytes
/
build.xml
File metadata and controls
41 lines (32 loc) · 942 Bytes
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
37
38
39
40
41
<project name="methods" default="dist">
<target name="compile">
<mkdir dir="bin" />
<javac source="17"
target="17"
srcdir="src"
destdir="bin"
debug="true"
includeantruntime="true"
nowarn="true">
</javac>
</target>
<target name="dist" depends="compile">
<jar basedir="bin" destfile="methods.jar" />
</target>
<target name="demo" depends="dist">
<mkdir dir="demo" />
<copy todir="demo">
<fileset file="../src/processing/core/PApplet.java" />
<fileset file="../src/processing/core/PGraphics.java" />
<fileset file="../src/processing/core/PImage.java" />
</copy>
<taskdef name="methods"
classname="PAppletMethods"
classpath="methods.jar" />
<methods dir="demo"/>
</target>
<target name="clean">
<delete dir="bin" />
<delete file="methods.jar" />
</target>
</project>