forked from vandurme/jerboa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
32 lines (26 loc) · 793 Bytes
/
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
<project name="Jerboa" basedir="." default="jar">
<property name="src" value="./src/main/java" />
<property name="build" value="./bin" />
<property name="dist" value="./dist" />
<target name="init">
<tstamp />
<mkdir dir="${build}" />
<mkdir dir="${dist}" />
</target>
<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${build}" debug="on" includeantruntime="false">
<compilerarg value="-Xlint" />
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${dist}/jerboa.jar">
<fileset dir="${build}">
<include name="**/*.class" />
</fileset>
</jar>
</target>
<target name="clean">
<delete verbose="true" quiet="true" dir="${build}" />
<delete verbose="true" quiet="true" dir="${dist}" />
</target>
</project>