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

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