-
Notifications
You must be signed in to change notification settings - Fork 486
/
build.xml
35 lines (29 loc) · 1.07 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
<!-- Build file for ABAGAIL (c) Andrew Guillory 2005 -->
<project default="all">
<target name="init">
<property name="jdocs.dir" value="docs"/>
<property name="bin.dir" value="bin"/>
<property name="src.dir" value="src"/>
</target>
<target name="prepare" depends="init">
<mkdir dir="${bin.dir}"/>
<mkdir dir="${jdocs.dir}"/>
</target>
<target name="compile" depends="prepare">
<mkdir dir="bin"/>
<javac srcdir= "src" destdir="bin" includeantruntime="false"/>
</target>
<target name="jar" depends="compile">
<manifest file="manifest.mf"/>
<delete file="ABAGAIL.jar"/>
<jar basedir="bin/" destfile="ABAGAIL.jar" manifest="manifest.mf"/>
</target>
<target name="clean">
<delete dir="${bin.dir}" />
<delete dir="${jdocs.dir}" />
</target>
<target name="javadoc" depends="prepare">
<javadoc sourcepath="${src.dir}" destdir="${jdocs.dir}"/>
</target>
<target name="all" depends="compile,jar"/>
</project>