forked from ClickerMonkey/TrieHard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
59 lines (37 loc) · 1.45 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
49
50
51
52
53
54
55
56
57
58
59
<project name="TrieHard" default="build" basedir=".">
<property file="build.properties" />
<property name="jar-core" value="${build}/${project}-${version}.jar" />
<property name="jar-core-src" value="${build}/${project}-${version}-src.jar" />
<target name="init">
<mkdir dir="${build.in}" />
</target>
<target name="compile" depends="init">
<javac srcdir="${build.src}" destdir="${build.in}" target="${java.target}"
source="${java.source}" debug="on" optimize="on" includeantruntime="false">
<compilerarg value="-Xlint" />
</javac>
</target>
<target name="build" depends="compile">
<jar jarfile="${jar-core}" basedir="${build.in}">
<fileset dir="." includes="${license}" />
</jar>
<jar jarfile="${jar-core-src}" basedir="${build.in}" compress="true">
<fileset dir="${build.src}" />
<fileset dir="." includes="${license}" />
</jar>
</target>
<target name="javadoc" depends="compile">
<javadoc access="public" classpath="${build.in}" destdir="${doc}"
nodeprecated="false" nodeprecatedlist="false" noindex="false"
nonavbar="false" notree="false" source="${java.source}" sourcepath="${build.src}"
splitindex="true" use="true" version="true" author="true"
windowtitle="${title}">
<link href="http://download.oracle.com/javase/6/docs/api/" />
</javadoc>
</target>
<target name="clean">
<delete dir="${build.in}" />
<delete file="${jar-core}" />
<delete file="${jar-core-src}" />
</target>
</project>