-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
41 lines (35 loc) · 1.33 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
<project name="template" default="build" basedir=".">
<description>Template Project</description>
<property name="build_dir" location="build"/>
<property name="libs_dir" location="libs"/>
<property name="src_dir" location="src"/>
<path id="classpath">
<pathelement path="${build_dir}"/>
<fileset dir="${libs_dir}" includes="mallet.jar"/>
<fileset dir="${libs_dir}" includes="mallet-deps.jar"/>
<fileset dir="${libs_dir}" includes="commons-cli-1.2.jar"/>
<fileset dir="${libs_dir}" includes="commons-collections-3.2.1.jar"/>
<fileset dir="${libs_dir}" includes="commons-configuration-1.9.jar"/>
<fileset dir="${libs_dir}" includes="commons-lang-2.6.jar"/>
<fileset dir="${libs_dir}" includes="commons-logging-1.1.1.jar"/>
<fileset dir="${libs_dir}" includes="commons-math3-3.2.jar"/>
</path>
<target name="init">
<tstamp/>
<mkdir dir="${build_dir}"/>
</target>
<target name="build" depends="init">
<javac destdir="${build_dir}" classpathref="classpath">
<src path="${src_dir}"/>
<include name="**/*.java"/>
<compilerarg value="-nowarn"/>
<compilerarg value="-Xlint:none"/>
</javac>
</target>
<target name="clean">
<delete>
<fileset dir="." includes="**/*~" defaultexcludes="false"/>
</delete>
<delete dir="${build_dir}"/>
</target>
</project>