| <project name="directoryscanner-test" basedir="."> |
| |
| <property name="tmp.dir" location="tmp"/> |
| |
| <target name="setup"> |
| <mkdir dir="${tmp.dir}/alpha/beta/gamma"/> |
| <touch file="${tmp.dir}/alpha/beta/gamma/gamma.xml"/> |
| <touch file="${tmp.dir}/alpha/beta/beta.xml"/> |
| </target> |
| |
| <target name="extended-setup" depends="setup"> |
| <mkdir dir="${tmp.dir}/delta"/> |
| <touch file="${tmp.dir}/delta/delta.xml"/> |
| </target> |
| |
| <target name="children-of-excluded-dir-setup" depends="extended-setup" /> |
| |
| <target name="cleanup"> |
| <delete dir="${tmp.dir}" quiet="true"/> |
| </target> |
| |
| <target name="symlink-setup" depends="setup"> |
| <mkdir dir="${tmp.dir}/epsilon/gamma"/> |
| <delete dir="${tmp.dir}/alpha/beta"/> |
| <symlink link="${tmp.dir}/alpha/beta" resource="${tmp.dir}/epsilon"/> |
| <touch file="${tmp.dir}/alpha/beta/gamma/gamma.xml"/> |
| </target> |
| |
| </project> |