-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
40 lines (32 loc) · 968 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"?>
<project name="Tracer" basedir="." default="create-jar">
<property name="src.dir" value="src" />
<property name="classes.dir" value="classes" />
<property name="lib.dir" value="lib" />
<path id="project.classpath">
<pathelement location="${classes.dir}" />
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
</path>
<target name="init">
<mkdir dir="${classes.dir}" />
</target>
<target name="clean">
<delete dir="${classes.dir}" />
</target>
<target name="compile" depends="clean,init">
<javac destdir="${classes.dir}" debug="true" includeantruntime="false" target="1.6" source="1.6">
<classpath refid="project.classpath" />
<src>
<pathelement path="${src.dir}" />
</src>
</javac>
</target>
<target name="create-jar" depends="compile">
<jar destfile="./tracer.jar">
<fileset dir="${classes.dir}" />
<fileset dir="${src.dir}" />
</jar>
</target>
</project>