summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'build-jzlib.xml')
-rw-r--r--build-jzlib.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/build-jzlib.xml b/build-jzlib.xml
new file mode 100644
index 0000000..31eeeea
--- /dev/null
+++ b/build-jzlib.xml
@@ -0,0 +1,32 @@
+<!--
+ * Copyright (c) 2010, Isode Limited, London, England.
+ * All rights reserved.
+ -->
+<project name="jzlib" default="dist" basedir=".">
+ <description>
+ Java zlib
+ </description>
+ <property name="src" location="com"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="."/>
+ <property name="jar" value="${dist}/jzlib.jar"/>
+ <property name="compile.debug" value="true"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ </target>
+
+ <target name="compile" depends="init"
+ description="compile the source " >
+ <javac srcdir="${src}" destdir="${build}" debug="${compile.debug}"/>
+ </target>
+
+ <target name="dist" depends="compile"
+ description="generate the distribution" >
+ <mkdir dir="${dist}"/>
+
+ <jar jarfile="${jar}" basedir="${build}"/>
+ </target>
+
+</project>