-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
46 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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="SensNetNode">
<path id="xoj-to-image.classpath">
<pathelement location="bin" />
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</path>
<target name="init">
<mkdir dir="bin" />
<copy includeemptydirs="false" todir="bin">
<fileset dir="src/">
<exclude name="**/*.launch" />
<exclude name="**/*.java" />
</fileset>
</copy>
</target>
<target depends="init" name="build">
<javac debug="true" destdir="bin" includeantruntime="false"
source="1.7" target="1.7">
<src path="src" />
<classpath refid="xoj-to-image.classpath" />
</javac>
</target>
<target depends="build" name="pack">
<jar destfile="xoj-to-image.jar" basedir="bin" manifest="xoj-to-image.MF">
<archives>
<zips>
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</zips>
</archives>
</jar>
</target>
<target name="all" depends="pack" />
<target name="clean">
<delete includeemptydirs="true">
<fileset dir=".">
<include name="bin/**/*" />
<include name="xoj-to-image.jar" />
</fileset>
</delete>
</target>
</project>