<target name="init"> <!-- Create the time stamp --> <tstamp/> </target>
<target name="compile"> <!-- Compile the java code from ${src.dir} into ${build} --> <mkdir dir="${build.dir}"/> <javac srcdir="${src.dir}" destdir="${build.dir}"> <classpath refid="classpath"/> </javac> </target>
<target name="clean" description="Delete the ${build} and ${dist.dir} and ${defaultUploadFielDirPath} directory trees"> <delete dir="${build.dir}"/> </target>
<target name="install-web" description="Copy web files to ${install.dir}/${application.name}"> <echo message="Copy web files to ${install.dir}/${application.name}"/> <mkdir dir="${install.dir}/${application.name}"/> <copy todir="${install.dir}/${application.name}"> <fileset dir="${src.web.dir}" excludes="WEB-INF/lib/*.jar,WEB-INF/classes/**/*"/> </copy> </target>
<target name="install-web-devel" description="No pre-task is executed before Copy web files to ${install.dir}/${application.name}"> <echo message="Copy web files to ${install.dir}/${application.name}"/> <mkdir dir="${install.dir}/${application.name}"/> <copy todir="${install.dir}/${application.name}"> <fileset dir="${src.web.dir}"/> </copy> </target>