-
Notifications
You must be signed in to change notification settings - Fork 1
/
schaudhry31.xml
73 lines (63 loc) · 2.26 KB
/
schaudhry31.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
<project name = "Person1AntBuild" basedir="." default = "all">
<!-- Setting up all the properties -->
<target name="all" depends="run" />
<target name = "init">
<property name = "src.dir" value = "${basedir}/src"/>
<property name = "lib.dir" value = "${basedir}/lib"/>
<property name = "build.dir" value = "${basedir}/build"/>
<property name = "docs.dir" value = "${basedir}/docs"/>
</target>
<target name = "prepare" depends = "init">
<mkdir dir="${src.dir}"/>
<mkdir dir="${build.dir}"/>
<mkdir dir="${docs.dir}"/>
</target>
<target name = "compile" depends = "prepare">
<javac srcdir="${src.dir}"
destdir="${build.dir}"
classpath="lib/resources.jar"
includeantruntime="false">
</javac>
</target>
<target name = "javadoc" depends = "prepare">
<javadoc packagenames="edu.gatech.oad.antlab"
sourcepath="src"
defaultexcludes="yes"
author="true"
version="true"
use="true"
destdir="${docs.dir}/javadoc">
<fileset dir="${src.dir}">
<include name="**/*.java" />
</fileset>
<bottom><![CDATA[<i>Copyright © 2012 Team 28 CS2340 All Rights Reserved.</i>]]></bottom>
</javadoc>
</target>
<target name = "jar" depends = "compile">
<path id="build-classpath">
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</path>
<manifestclasspath property="lib.list" jarfile="AntLabRun.jar">
<classpath refid="build-classpath"/>
</manifestclasspath>
<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.list}" />
</manifest>
</jar>
</target>
<target name = "run" depends="jar">
<java jar="AntLabRun.jar" fork = "true">
<classpath>
<pathelement location = "${build.dir}" />
<pathelement location = "${lib.dir}/resources.jar" />
</classpath>
</java>
</target>
<target name = "clean" depends = "init" >
<delete dir="${build.dir}" />
</target>
</project>