2001-02-13 12:32:01 +00:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
2005-03-07 18:09:10 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/>
|
2002-02-03 22:00:42 +00:00
|
|
|
<title>AntStructure Task</title>
|
2001-02-13 12:32:01 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h2><a name="antstructure">AntStructure</a></h2>
|
|
|
|
<h3>Description</h3>
|
2004-04-06 13:48:22 +00:00
|
|
|
|
|
|
|
<p>Generates an DTD for Ant buildfiles which contains information
|
|
|
|
about all tasks currently known to Ant.</p>
|
|
|
|
|
|
|
|
<p>Actually the DTD will not be a real DTD for buildfiles since Ant's
|
|
|
|
usage of XML cannot be captured with a DTD. Several elements in Ant
|
|
|
|
can have different attribute lists depending on the element that
|
|
|
|
contains them. "fail" for example can be <a
|
|
|
|
href="fail.html">the task</a> or the nested child element of the <a
|
|
|
|
href="../OptionalTasks/sound.html">sound</a> task. Don't consider the
|
|
|
|
generated DTD something to rely upon.</p>
|
|
|
|
|
|
|
|
<p>Also note that the DTD generated by this task is incomplete, you can
|
2001-02-13 12:32:01 +00:00
|
|
|
always add XML entities using <a
|
2002-04-10 10:02:54 +00:00
|
|
|
href="taskdef.html"><code><taskdef></code></a> or <a
|
|
|
|
href="typedef.html"><code><typedef></code></a>. See <a
|
|
|
|
href="http://www.sdv.fr/pages/casa/html/ant-dtd.en.html"
|
|
|
|
target="_top">here</a> for a way to get around this problem.</p>
|
2001-02-13 12:32:01 +00:00
|
|
|
<p>This task doesn't know about required attributes, all will be
|
|
|
|
listed as <code>#IMPLIED</code>.</p>
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td valign="top"><b>Attribute</b></td>
|
|
|
|
<td valign="top"><b>Description</b></td>
|
|
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td valign="top">output</td>
|
|
|
|
<td valign="top">file to write the DTD to.</td>
|
|
|
|
<td valign="top" align="center">Yes</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<h3>Examples</h3>
|
|
|
|
<blockquote><pre>
|
|
|
|
<antstructure output="project.dtd"/>
|
|
|
|
</pre></blockquote>
|
2005-03-07 18:09:10 +00:00
|
|
|
<hr><p align="center">Copyright © 2000-2002,2004-2005 The Apache Software Foundation. All rights
|
2001-02-13 12:32:01 +00:00
|
|
|
Reserved.</p>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|