|
Ant example source code file (nested-text-test.xml)
The nested-text-test.xml source code<project xmlns:au="antlib:org.apache.ant.antunit"> <target name="testAcceptNested"> <echo>foo </target> <target name="testRejectNested"> <typedef name="object" classname="java.lang.Object" /> <au:expectfailure expectedMessage="The <object> type doesn't support nested text data ("foo")."> <object>foo </au:expectfailure> </target> </project> Other Ant examples (source code examples)Here is a short list of links related to this Ant nested-text-test.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.