|
Ant example source code file (whichresource.xml)
The whichresource.xml source code
<project default="fail">
<target name="fail">
<fail>Run via testcases only
</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>
Other Ant examples (source code examples)Here is a short list of links related to this Ant whichresource.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.