<project default="build.antTasks"> | |
<property name="tasks.jar.name" value="antsupport.jar"/> | |
<property name="bin.dir" value="bin-ant"/> | |
<target name="build.antTasks"> | |
<zip basedir="${bin.dir}" includes="**/*" destfile="${tasks.jar.name}" update="false"/> | |
</target> | |
<target name="clean" depends="check.lib.exists" if="lib.exists"> | |
<delete file="${tasks.jar.name}"/> | |
</target> | |
<target name="check.lib.exists"> | |
<available file="${tasks.jar.name}" property="lib.exists"/> | |
</target> | |
</project> |