| <?xml version="1.0"?> |
| |
| <project name="subant-test" basedir="." default="testgenericantfile"> |
| <target name="testnodirs" depends="tearDown"> |
| <subant genericantfile="subant/genericsubant.xml"> |
| <dirset dir="." includes="subant-test*"/> |
| </subant> |
| </target> |
| |
| <target name="testgenericantfile"> |
| <subant genericantfile="subant/genericsubant.xml"> |
| <dirset dir="subant" includes="subant-test*"/> |
| </subant> |
| </target> |
| |
| <target name="testantfile"> |
| <subant antfile="mysubant.xml"> |
| <dirset dir="." includes="subant/subant-test*"/> |
| </subant> |
| </target> |
| |
| <target name="multipleTargets"> |
| <subant antfile="mysubant.xml"> |
| <dirset dir="." includes="subant/subant-test*"/> |
| <target name="one"/> |
| <target name="two"/> |
| </subant> |
| </target> |
| |
| <target name="multipleTargetsOneDoesntExist_FOEfalse"> |
| <subant antfile="mysubant.xml" failonerror="false"> |
| <dirset dir="." includes="subant/subant-test*"/> |
| <target name="one"/> |
| <target name="three"/> |
| </subant> |
| </target> |
| |
| <target name="multipleTargetsOneDoesntExist_FOEtrue"> |
| <subant antfile="mysubant.xml" failonerror="true"> |
| <dirset dir="." includes="subant/subant-test*"/> |
| <target name="one"/> |
| <target name="three"/> |
| </subant> |
| </target> |
| |
| <target name="tearDown"> |
| <!-- nothing to do --> |
| </target> |
| </project> |