|
Ant example source code file (isreference.xml)
The isreference.xml source code
<project default="nope">
<path id="global-path-id"/>
<echo id="echo-id"/>
<target name="nope">
<fail>This build file should be run by a testcase
</target>
<target name="define">
<path id="target-path-id"/>
</target>
<target name="basic" depends="define">
<condition property="global-path">
<isreference refid="global-path-id"/>
</condition>
<condition property="target-path">
<isreference refid="target-path-id"/>
</condition>
</target>
<target name="isreference-incomplete">
<condition property="foo">
<isreference/>
</condition>
</target>
<target name="type">
<condition property="global-path">
<isreference refid="global-path-id" type="path"/>
</condition>
<condition property="global-path-as-fileset">
<isreference refid="global-path-id" type="fileset"/>
</condition>
<condition property="global-path-as-foo">
<isreference refid="global-path-id" type="foo"/>
</condition>
<condition property="global-echo">
<isreference refid="echo-id" type="echo"/>
</condition>
</target>
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant isreference.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.