summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-07-28 11:45:21 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-07 11:17:50 (GMT)
commiteca0a80a7abb136094f252872499c59803999f85 (patch)
treed81af1e61d3b05567acc05199425829fc33320c8 /build-jzlib.xml
parent0b55e5cf189e61d1dafbc011ee853d74509604d8 (diff)
downloadstroke-eca0a80a7abb136094f252872499c59803999f85.zip
stroke-eca0a80a7abb136094f252872499c59803999f85.tar.bz2
Using JZlib for compression, as features we need aren't in Java until 1.7
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>