You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

antstructure.html 1.8 KiB

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