| <project default="fail"> |
| <target name="fail"> |
| <fail>Run via testcases only</fail> |
| </target> |
| |
| <target name="testClassname"> |
| <whichresource class="org.apache.tools.ant.Main" |
| property="antmain"/> |
| </target> |
| |
| <target name="testResourcename"> |
| <whichresource resource="org/apache/tools/ant/taskdefs/defaults.properties" |
| property="defaults"/> |
| </target> |
| |
| <target name="testResourcenameWithLeadingSlash"> |
| <whichresource resource="/org/apache/tools/ant/taskdefs/defaults.properties" |
| property="defaults"/> |
| </target> |
| </project> |