<project name="SWT" default="jar" basedir="."> <property name="src" location="."/> <property name="build" location="build"/> <target name="init"> <tstamp/> <mkdir dir="${build}"/> </target> <target name="compile" depends="init" description="Compile the SWT toolset"> <javac srcdir="${src}" destdir="${build}"/> </target> <target name="jar"> <jar destfile="swt.jar" basedir="${build}"/> </target> </project>