-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwwong30.xml
76 lines (51 loc) · 2.09 KB
/
wwong30.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<project name="M4" default="all" basedir="M4/M4">
<target name="init">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="jar.dir" value="jar"/>
<property name="apidoc.dir" value="apidoc"/>
<property name="lib.dir" value="lib"/>
</target>
<target name="prepare" depends="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${apidoc.dir}"/>
</target>
<target name="compile" depends="prepare">
<javac srcdir="${src.dir}" destdir="${build.dir}" includeantruntime="false">
<classpath path="${lib.dir}/resources.jar" />
</javac>
</target>
<target name="javadoc" depends="prepare">
<javadoc sourcepath="${src.dir}" access="public" destdir="${apidoc.dir}" packagenames="edu.gatech.oad.antlab">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
</fileset>
<classpath>
<fileset dir="${lib.dir}" includes="resources.jar"/>
</classpath>
</javadoc>
</target>
<target name="jar" depends="compile">
<jar destfile="AntLabRun.jar" basedir="${build.dir}">
<manifest>
<attribute name="Main-Class" value="edu.gatech.oad.antlab.pkg1.AntLabMain"/>
<attribute name="Class-Path" value="../${lib.dir}/resources.jar/}"/>
</manifest>
</jar>
</target>
<target name="run" depends="jar">
<java jar="${build.dir}/AntLabRun.jar" fork="true">
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement location="../lib/resources.jar"/>
</classpath>
</java>
</target>
<target name="all" depends="run, javadoc">
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${apidoc.dir}"/>
</target>
</project>