|
Ant example source code file (antstructure.xml)
The antstructure.xml source code
<?xml version="1.0"?>
<project name="antstructure-test" basedir="." default="test1">
<target name="test1">
<antstructure/>
</target>
<target name="testCustomPrinter">
<typedef name="myprinter"
classname="org.apache.tools.ant.taskdefs.AntStructureTest$MyPrinter">
<classpath>
<pathelement path="${tests-classpath.value}"/>
</classpath>
</typedef>
<antstructure output="foo.dtd">
<myprinter/>
</antstructure>
</target>
<target name="tearDown">
<delete file="foo.dtd" quiet="true"/>
</target>
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant antstructure.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.