<?xml version="1.0"?>
<project name="module" default="jar" basedir=".">
<property name="lib.dir" value="lib"/>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<target name="clean">
<delete dir="target"/>
</target>
<target name="compile" depends="clean">
<mkdir dir="target"/>
<mkdir dir="target/classes"/>
<javac srcdir="src" destdir="target/classes" classpathref="classpath"/>
</target>
<target name="jar" depends="compile">
<mkdir dir="target/jar"/>
<jar destfile="target/jar/module.jar" basedir="target/classes">
</jar>
</target>
</project>