bodewig 00/08/10 05:30:53
Modified: . WHATSNEW
docs index.html
Log:
Added documentation for the <antstructure> task.
Revision Changes Path
1.18 +1 -1 jakarta-ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- WHATSNEW 2000/08/10 10:33:20 1.17
+++ WHATSNEW 2000/08/10 12:30:17 1.18
@@ -28,7 +28,7 @@
Other changes:
--------------
-* New tasks: sql, genkey, cab, ftp, junit.
+* New tasks: antstructure, cab, ftp, genkey, junit, sql.
* New tasks mparse, execon. All pending documentation, most of
them pending review.
1.76 +30 -0 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- index.html 2000/08/10 11:23:01 1.75
+++ index.html 2000/08/10 12:30:19 1.76
@@ -743,6 +743,7 @@
<h2><a name="tasks">Built in tasks</a></h2>
<ul>
<li><a href="#ant">Ant</a></li>
+ <li><a href="#antstructure">AntStructure</a></li>
<li><a href="#available">Available</a></li>
<li><a href="#chmod">Chmod</a></li>
<li><a href="#copydir">Copydir</a></li>
@@ -834,6 +835,35 @@
� �<property file="config/subproject/default.properties" />
�</ant>
</pre>
+<hr>
+<h2><a name="antstructure">AntStructure</a></h2>
+<h3><b>Description:</b></h3>
+<p>Generates a DTD for Ant build files which contains informations
+about all tasks currently known to Ant.</p>
+<p>Note that the DTD generated by this task is incomplete, you can
+always add XML entities using <a
+href="#taskdef"><code><taskdef></code></a>. See <a
+href="http://www.sdv.fr/pages/casa/html/ant-dtd.en.html">here</a> for
+a way to get around this problem.</p>
+<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>
<hr>
<h2><a name="available">Available</a></h2>
<h3>Description</h3>