-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
39 lines (33 loc) · 1003 Bytes
/
build.xml
File metadata and controls
39 lines (33 loc) · 1003 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
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" ?>
<project name="Mojo" default="build">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="classes.dir" value="bin"/>
<property name="lib.dir" value="lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="*.jar"/>
</path>
<target name="init">
<mkdir dir="${build.dir}" />
<mkdir dir="${classes.dir}" />
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<mkdir dir="${classes.dir}" />
</target>
<target name="compile" depends="init">
<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on" source="10" target="10">
<classpath>
<path refid="classpath"/>
</classpath>
</javac>
</target>
<target name="build" depends="clean,compile">
<delete file="${build.dir}/mojo.jar"/>
<jar jarfile="${build.dir}/mojo.jar" basedir="${classes.dir}">
<manifest>
<attribute name="Built-By" value="Noterik B.V."/>
</manifest>
</jar>
</target>
</project>