May 2002
Intermediate to advanced
288 pages
10h 50m
English
antstructure
Creates an XML Document Type Definition (DTD) for Ant buildfiles.
This uses Java reflection to determine allowable attributes and
content for all tasks. Since the underlying Ant task API does not
indicate which attributes are required, the DTD marks all attributes
as #IMPLIED.
[45]
output (all, File, Y)The name of the DTD file to generate.
None.
Create project.dtd in the current directory:
<target name="createdtd">
<antstructure output="project.dtd"/>
</target>[45] In DTDs,
#IMPLIED means optional.
Read now
Unlock full access