summaryrefslogtreecommitdiffstats
blob: 31eeeeaaffeec1aa9030a37c658254b83088aa51 (plain)
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
<!--
 * 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>