bodewig 00/07/20 05:50:34
Modified: docs index.html
Log:
Updated documentation of Ant task.
Submitted by: Glenn McAllister <[EMAIL PROTECTED]>
Revision Changes Path
1.52 +16 -8 jakarta-ant/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/index.html,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- index.html 2000/07/20 07:35:56 1.51
+++ index.html 2000/07/20 12:50:33 1.52
@@ -591,7 +591,9 @@
used.</p>
<p>The properties of the current project will be available in the new
project.
These properties will override the properties that are set in the new
project.
-(See also the <a href="#property">properties task</a>).</p>
+(See also the <a href="#property">properties task</a>). �You can set
properties
+in the new project from the old project by using nested property tags. This
+allows you to parameterize your subprojects.</p>
<h3>Parameters:</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -606,8 +608,9 @@
</tr>
<tr>
<td valign="top">dir</td>
- <td valign="top">the directory to use as a basedir for the new Ant
project.</td>
- <td valign="top" align="center">Yes</td>
+ � �<td valign="top">the directory to use as a basedir for the new Ant
project
+ Defaults to the current directory.</td>
+ � �<td valign="top" align="center">No</td>
</tr>
<tr>
<td valign="top">target</td>
@@ -622,11 +625,16 @@
</tr>
</table>
<h3>Examples</h3>
-<blockquote>
- <p><code><ant antfile="subproject/subbuild.xml"
dir="subproject"
- target="compile" /></code></p>
- <p><code><ant dir="subproject" /></code></p>
-</blockquote>
+<pre>
+ �<ant antfile="subproject/subbuild.xml"
dir="subproject" target="compile" />
+
+ �<ant dir="subproject" />
+
+ �<ant antfile="subproject/property_based_subbuild.xml">
+ � �<property name="param1" value="version 1.x" />
+ � �<property file="config/subproject/default.properties" />
+ �</ant>
+</pre>
<hr>
<h2><a name="available">Available</a></h2>
<h3>Description</h3>