You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?xml version="1.0"?>
-
- <project name="subant-test" basedir="." default="testgenericantfile">
- <target name="testnodirs" depends="cleanup">
- <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="cleanup">
- <!-- nothing to do -->
- </target>
- </project>
|