-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathant.xml
More file actions
37 lines (27 loc) · 1.12 KB
/
ant.xml
File metadata and controls
37 lines (27 loc) · 1.12 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="compile" name="Compile Joise-JSONConverter" basedir=".">
<target name="compile">
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd" />
</tstamp>
<!-- requires libs: Gson.jar Joise.jar -->
<property name="lib.dir" value="${basedir}/../libraries" />
<property name="src.dir" value="${basedir}/src" />
<property name="build.dir" value="${basedir}/build" />
<property name="build.class.dir" value="${build.dir}/class" />
<property name="dist.dir" value="${basedir}/dist" />
<property name="dist.jarfile" value="${dist.dir}/Joise-JSONConverter.${TODAY}.jar" />
<mkdir dir="${build.class.dir}" />
<mkdir dir="${dist.dir}" />
<path id="lib.classpath">
<fileset dir="${lib.dir}" />
</path>
<javac destdir="${build.class.dir}" includeantruntime="false">
<src path="${src.dir}" />
<classpath refid="lib.classpath" />
<compilerarg value="-Xlint:unchecked" />
</javac>
<jar destfile="${dist.jarfile}" basedir="${build.class.dir}" />
<delete dir="${build.dir}" />
</target>
</project>