-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
48 lines (39 loc) · 1.06 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
45
46
47
48
<?xml version="1.0"?>
<!-- JWPlot -->
<project name="jwplot"
default="jar">
<fileset id="jars"
dir="lib"
includes="*.jar" />
<pathconvert refid="jars" property="jars" />
<property name="classpath" value="./src:${jars}" />
<target name="all"
depends="compile" />
<target name="compile"
depends="make_build_dir">
<javac includeAntRuntime="no"
srcdir="src"
destdir="build"
classpath="${classpath}"
listfiles="${lf}"
debug="true"
debuglevel="source,lines,vars">
<compilerarg value="-Xlint"/>
</javac>
</target>
<target name="make_build_dir">
<mkdir dir="build"/>
</target>
<target name="jar" depends="compile">
<jar destfile="lib/jwplot.jar"
basedir="build"
manifest="etc/manifest" />
</target>
<target name="clean">
<delete>
<fileset dir="build/jwplot" includes="**/*.class"/>
</delete>
<delete file="lib/jwplot.jar" />
<!-- <delete file="build/Fig.class" /> -->
</target>
</project>