forked from swift/stroke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-jzlib.xml
34 lines (29 loc) · 889 Bytes
/
build-jzlib.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
32
33
34
<!--
* 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}"
source="1.6"
target="1.6"/>
</target>
<target name="dist" depends="compile"
description="generate the distribution" >
<mkdir dir="${dist}"/>
<jar jarfile="${jar}" basedir="${build}"/>
</target>
</project>