<?xml version="1.0"?> <!-- Ant Buildfile for MOA ID Auth component $Id$ --> <project name="id.oa" default="package" basedir="."> <property name="tmp" value="tmp"/> <property name="dist" value="${tmp}/dist"/> <!-- set up directories etc. --> <target name="init"> <tstamp/> <echo>Time (hhmm): ${TSTAMP}</echo> <mkdir dir="${tmp}"/> <mkdir dir="${dist}"/> </target> <!-- package oa.war --> <target name="package" depends="init"> <war warfile="${dist}/oa.war" webxml="web.xml"> <fileset dir="html"/> </war> </target> <!-- clean temporary files --> <target name="clean"> <delete dir="${tmp}"/> </target> </project>