source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/docs/manual/CoreTasks/antstructure.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 1.8 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>AntStructure Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="antstructure">AntStructure</a></h2>
12<h3>Description</h3>
13
14<p>Generates an DTD for Ant buildfiles which contains information
15about all tasks currently known to Ant.</p>
16
17<p>Actually the DTD will not be a real DTD for buildfiles since Ant's
18usage of XML cannot be captured with a DTD. Several elements in Ant
19can have different attribute lists depending on the element that
20contains them. &quot;fail&quot; for example can be <a
21href="fail.html">the task</a> or the nested child element of the <a
22href="../OptionalTasks/sound.html">sound</a> task. Don't consider the
23generated DTD something to rely upon.</p>
24
25<p>Also note that the DTD generated by this task is incomplete, you can
26always add XML entities using <a
27href="taskdef.html"><code>&lt;taskdef&gt;</code></a> or <a
28href="typedef.html"><code>&lt;typedef&gt;</code></a>. See <a
29href="http://www.sdv.fr/pages/casa/html/ant-dtd.en.html"
30target="_top">here</a> for a way to get around this problem.</p>
31<p>This task doesn't know about required attributes, all will be
32listed as <code>#IMPLIED</code>.</p>
33<h3>Parameters</h3>
34<table border="1" cellpadding="2" cellspacing="0">
35 <tr>
36 <td valign="top"><b>Attribute</b></td>
37 <td valign="top"><b>Description</b></td>
38 <td align="center" valign="top"><b>Required</b></td>
39 </tr>
40 <tr>
41 <td valign="top">output</td>
42 <td valign="top">file to write the DTD to.</td>
43 <td valign="top" align="center">Yes</td>
44 </tr>
45</table>
46<h3>Examples</h3>
47<blockquote><pre>
48&lt;antstructure output=&quot;project.dtd&quot;/&gt;
49</pre></blockquote>
50<hr><p align="center">Copyright &copy; 2000-2002,2004 The Apache Software Foundation. All rights
51Reserved.</p>
52
53</body>
54</html>
55
Note: See TracBrowser for help on using the repository browser.