-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
52 lines (41 loc) · 1.71 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
<project name="tuxguitar-guitarduino" basedir="." default="all">
<description>
TuxGuitar Guitarduino
</description>
<property file="build.properties" />
<property name="build.src.path" value="src" />
<property name="build.share.path" value="share" />
<property name="build.path" value="build" />
<property name="build.jar" value="tuxguitar-guitarduino.jar" />
<path id="class.path">
<pathelement location="${path.tuxguitar}"/>
<pathelement location="${path.swt}"/>
<pathelement location="${path.libusb}"/>
<pathelement location="${path.jack}"/>
</path >
<target name="init" depends="clean">
<mkdir dir="${build.path}" />
</target>
<target name="clean">
<delete quiet="true" dir="${build.path}" />
<delete quiet="true" file="${build.jar}" />
</target>
<target name="build" depends="init">
<echo>+--------------------------------------------------------------------+</echo>
<echo>| B U I L D I N G T U X G U I T A R - F L U I D S Y N T H |</echo>
<echo>+--------------------------------------------------------------------+</echo>
<javac srcdir="${build.src.path}" destdir="${build.path}" debug="false" >
<classpath refid="class.path"/>
<include name="**/*.java"/>
</javac>
<copy todir="${build.path}">
<fileset dir="${build.share.path}"/>
</copy>
<echo>+----------------------------------------------------------------------+</echo>
<echo>| P A C K A G I N G T U X G U I T A R - F L U I D S Y N T H |</echo>
<echo>+----------------------------------------------------------------------+</echo>
<jar destfile="${build.jar}" basedir="${build.path}" />
<delete quiet="true" dir="${build.path}" />
</target>
<target name="all" depends="build" />
</project>