|
Ant example source code file (echoxml.xml)
The echoxml.xml source code
<project>
<property name="file" location="echoed.xml" />
<target name="init">
<echoxml file="${file}">
<project>
<property name="foo" value="bar" />
<fail message="$$$${foo}=$${foo}">
<condition>
<istrue value="${mustfail}" />
</condition>
</fail>
</project>
</echoxml>
</target>
<target name="tearDown">
<delete file="${file}" />
</target>
<target name="testPass" depends="init">
<ant antfile="${file}" />
</target>
<target name="testFail" depends="init">
<ant antfile="${file}">
<property name="mustfail" value="true" />
</ant>
</target>
<target name="testEmpty">
<echoxml />
</target>
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant echoxml.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.