|
|
@@ -591,7 +591,9 @@ in the supplied directory (<i>dir</i> attribute) is used.</p> |
|
|
|
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 @@ These properties will override the properties that are set in the new project. |
|
|
|
</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 @@ These properties will override the properties that are set in the new project. |
|
|
|
</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> |
|
|
|