-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathbuild.xml
More file actions
26 lines (22 loc) · 733 Bytes
/
build.xml
File metadata and controls
26 lines (22 loc) · 733 Bytes
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
<project name="daemon" default="jar">
<target name="javac">
<mkdir dir="bin"/>
<javac debug="true" source="1.8" target="1.8" srcdir="src" destdir="bin"/>
</target>
<target name="jar" depends="javac">
<jar destfile="daemon.jar">
<!-- Include all .class files (except example daemon). -->
<fileset dir="bin" includes="**/*.class" excludes="org/cloudcoder/daemon/example/**"/>
<!-- Include all source code (except example daemon). -->
<fileset dir="src" includes="**/*.java" excludes="org/cloudcoder/daemon/example/**"/>
</jar>
</target>
<target name="clean">
<delete>
<fileset dir="bin">
<include name="**"/>
</fileset>
</delete>
<delete file="daemon.jar"></delete>
</target>
</project>