-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
54 lines (45 loc) · 1.15 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
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" ?>
<project name="sbolt" default="build" basedir=".">
<!-- Build everything -->
<target name="build" depends="build-java,build-jar"/>
<!-- Clean everything -->
<target name="clean" depends="clean-java"/>
<!-- Dist Clean everyting -->
<target name="distclean" depends="clean">
<delete file="sbolt.jar"/>
</target>
<!-- Build Jar -->
<target name="build-jar">
<jar destfile="sbolt.jar">
<fileset dir="bin">
<include name="**/*.class" />
<include name="*.class" />
</fileset>
<manifest>
</manifest>
</jar>
<copy file="sbolt.jar" todir="." />
</target>
<target name="build-java">
<mkdir dir="bin"/>
<javac
srcdir="src"
includes="**/*.java"
debug="on"
optimize="off"
destdir="bin"
compiler="extJavac"
deprecation="yes"
source="1.5"
target="1.5"
>
</javac>
</target>
<target name="clean-java" >
<delete>
<fileset dir="bin" includes="**/*.class"/>
<fileset dir="." includes="**/*~" defaultexcludes="no"/>
<fileset dir="." includes="sbolt.jar"/>
</delete>
</target>
</project>