forked from processing/processing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
36 lines (30 loc) · 959 Bytes
/
Copy pathbuild.xml
File metadata and controls
36 lines (30 loc) · 959 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
<project name="downloader" default="dist">
<target name="compile">
<mkdir dir="bin" />
<javac source="1.7"
target="1.7"
srcdir="src"
destdir="bin"
debug="true"
includeantruntime="true"
nowarn="true"
compiler="org.eclipse.jdt.core.JDTCompilerAdapter">
<compilerclasspath path="../../java/mode/org.eclipse.jdt.core.jar;
../../java/mode/jdtCompilerAdapter.jar" />
</javac>
</target>
<target name="dist" depends="compile">
<jar basedir="bin" destfile="downloader.jar" />
</target>
<target name="demo" depends="dist">
<taskdef name="downloader"
classname="Downloader"
classpath="downloader.jar" />
<downloader version="8" update="31" build="13"
jdk="true" flavor="macosx-x64.dmg" />
</target>
<target name="clean">
<delete dir="bin" />
<delete file="downloader.jar" />
</target>
</project>