-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
40 lines (35 loc) · 1010 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
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="make-jar" name="svm">
<property name="target" value="1.6" />
<property name="source" value="1.6" />
<property name="jar" value="svm.jar" />
<path id="classpath">
<pathelement location="bin" />
<pathelement location="dep/commons/bin" />
</path>
<target name="init">
<mkdir dir="bin" />
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java" />
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin" />
</target>
<target name="make" depends="init">
<javac srcdir="src" destdir="bin" source="${source}" target="${target}" includeantruntime="true">
<classpath refid="classpath" />
</javac>
</target>
<target name="make-jar" depends="make">
<delete file="${jar}" />
<jar destfile="${jar}">
<fileset dir="bin">
<include name="**/*.class" />
<exclude name="**/test/**" />
</fileset>
</jar>
</target>
</project>