-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
39 lines (33 loc) · 1.06 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
<project name="midi2chord" default="build" basedir=".">
<property name="project.name" value="midi2chord" />
<property name="src.dir" value="src" />
<property name="build.dir" value="build" />
<property name="build.classes.dir" value="${build.dir}/classes" />
<property name="build.lib.dir" value="${build.dir}/lib" />
<target name="all" depends="build">
</target>
<target name="build" depends="build-prepare">
<javac srcdir="${src.dir}"
destdir="${build.classes.dir}"
debug="yes"
deprecation="no"
optimize="on"
includeantruntime="no">
</javac>
</target>
<target name="build-prepare">
<mkdir dir="${build.dir}" />
<mkdir dir="${build.classes.dir}" />
<mkdir dir="${build.lib.dir}" />
</target>
<target name="jar" depends="build">
<jar destfile="${build.lib.dir}/${project.name}.jar" basedir="${build.classes.dir}">
<manifest>
<attribute name="Main-Class" value="com.minnozz.midi2chord.MIDI2ChordApp" />
</manifest>
</jar>
</target>
<target name="clean">
<delete dir="${build.dir}" />
</target>
</project>