-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
31 lines (25 loc) · 999 Bytes
/
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="ourgriddoctor">
<property name="app.version" value="1.0" />
<property name="target.dir" value="target" />
<property name="lib.dir" value="lib" />
<property name="classes.dir" value="${target.dir}/classes" />
<property name="src.dir" value="src" />
<target name="clean">
<delete dir="${target.dir}" />
</target>
<target name="compile" depends="clean">
<mkdir dir="${classes.dir}" />
<javac srcdir="src" destdir="${classes.dir}">
<classpath>
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</classpath>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="${target.dir}/${ant.project.name}-${app.version}.jar" basedir="${classes.dir}"/>
</target>
<target name="build" depends="jar"/>
</project>