forked from jhclark/tercom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
33 lines (28 loc) · 866 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
<?xml version="1.0"?>
<project name="tercom" default="jar" basedir=".">
<property name="version" value="0.10.0" />
<!-- Compile the Java code -->
<target name="compile">
<mkdir dir="bin" />
<javac compiler="javac1.5" srcdir="src" destdir="bin"
debug="on" encoding="iso-8859-1"
includeantruntime="false" />
</target>
<!-- Delete the compiled files -->
<target name="clean">
<delete verbose="true" quiet="true">
<fileset dir="bin">
<include name="**/*.class" />
</fileset>
</delete>
</target>
<!-- Create a JAR file of the compiled classes -->
<target name="jar" depends="compile">
<jar destfile="tercom-${version}.jar">
<fileset dir="bin" includes="**/*.class" />
<manifest>
<attribute name="Main-Class" value="ter.TERtest" />
</manifest>
</jar>
</target>
</project>