-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
45 lines (37 loc) · 1.03 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="beedeedee" basedir="." default="compile">
<path id="class.path">
<fileset dir="lib" />
<pathelement location="bin"/>
</path>
<target name="compile">
<javac srcdir="src" destdir="bin">
<classpath refid="class.path" />
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="beedeedee.jar" basedir="bin" excludes="**/*Test.class" />
</target>
<target name="compileTests" depends="compile">
<javac srcdir="test" destdir="bin">
<classpath refid="class.path" />
</javac>
</target>
<target name="test" depends="compileTests">
<junit haltonfailure="yes">
<formatter type="plain" usefile="false"/>
<classpath refid="class.path" />
<batchtest fork="yes">
<fileset dir="bin" includes="**/*Test.class" />
</batchtest>
</junit>
</target>
<target name="javadoc">
<javadoc sourcepath="src" destdir="docs"/>
</target>
<target name="clean">
<delete>
<fileset dir="bin" includes="**/*.class" />
</delete>
</target>
</project>