-
Notifications
You must be signed in to change notification settings - Fork 138
/
build.xml
44 lines (40 loc) · 1.22 KB
/
build.xml
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
42
43
44
<project name="minim" default="library">
<path id="deps.path">
<fileset dir="library">
<include name="*.jar"/>
</fileset>
<fileset dir="ext">
<include name="prodoc/prodoc.jar"/>
</fileset>
</path>
<target name="compile" depends="clean">
<mkdir dir="bin"/>
<javac srcdir="src/main/java"
destdir="bin"
includeAntRuntime="false"
debug="true"
debuglevel="lines,vars,source"
>
<classpath refid="deps.path"/>
</javac>
</target>
<target name="library" depends="compile">
<jar destfile="library/minim.jar" basedir="bin" includes="**/*.class"
excludes="ddf/minim/javasound/*.class, ddf/minim/tests/*.class">
</jar>
<jar destfile="library/jsminim.jar" basedir="bin"
includes="ddf/minim/javasound/*.class">
</jar>
</target>
<target name="doc">
<javadoc access="public" packagenames="ddf.minim, ddf.minim.ugens, ddf.minim.analysis" sourcepath="src/main/java">
<classpath refid="deps.path"/>
<doclet name="prodoc.StartDoclet" path="ext/prodoc/prodoc.jar">
<param name="-destdir" value="documentation"/>
</doclet>
</javadoc>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
</project>