forked from stleary/JSON-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
35 lines (28 loc) · 967 Bytes
/
Copy pathbuild.xml
File metadata and controls
35 lines (28 loc) · 967 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
<project name="JSON-java" default="compile" basedir=".">
<description>
Build file for JSON-java
</description>
<property name="src" location="src" />
<property name="build" location="bin" />
<property name="dist" location="dist" />
<property name="lib" location="lib" />
<property name="doc" location="javadoc" />
<target name="init">
<tstamp />
<mkdir dir="${build}" />
<mkdir dir="${dist}" />
</target>
<target name="compile" depends="init" description="compile the source ">
<javac srcdir="${src}" destdir="${build}" debug="on" debuglevel="lines,vars,source" includeantruntime="false" target="1.5" source="1.5">
</javac>
</target>
<target name="dist" depends="compile" description="generate the distribution">
<jar jarfile="${dist}/JSON.jar" basedir="${build}">
</jar>
</target>
<target name="clean" description="clean up">
<delete dir="${build}" />
<delete dir="${dist}" />
<delete dir="${doc}" />
</target>
</project>