<<>> # Ant buildfile written in PXSL # Derived from Example Buildfile in Ant manual: # http://ant.apache.org/manual/using.html#example # # To convert to XML: # $ pxslcc --add ant-shortcuts.edf ant-buildfile.pxsl > ant-buildfile.xml project MyProject -default=dist -basedir=. description <{simple example build file}> -- global properties for this build property src -location=src property build -location=build property dist -location=dist -- targets target init tstamp mkdir ${build} target compile -depends=init -description=<{compile the source}> javac -srcdir=${src} -destdir=${build} target dist -depends=compile -description=<{generate the distribution}> mkdir ${dist}/lib jar -jarfile=${dist}/lib/MyProject-${DSTAMP}.jar -basedir=${build} target clean -description=<{clean up}> delete -dir=${build} delete -dir=${dist}