|
@@ -49,8 +49,7 @@ href="property.html">property task</a>).</p> |
|
|
by using nested property tags. These properties are always passed |
|
|
by using nested property tags. These properties are always passed |
|
|
to the new project and any project created in that project |
|
|
to the new project and any project created in that project |
|
|
regardless of the setting of <i>inheritAll</i>. This allows you to |
|
|
regardless of the setting of <i>inheritAll</i>. This allows you to |
|
|
parameterize your subprojects. Properties defined on the command line |
|
|
|
|
|
cannot be overridden by nested <code><property></code> elements.</p> |
|
|
|
|
|
|
|
|
parameterize your subprojects.</p> |
|
|
|
|
|
|
|
|
<p>When more than one nested <code><property></code> element |
|
|
<p>When more than one nested <code><property></code> element |
|
|
would set a property of the same name, the one declared last will |
|
|
would set a property of the same name, the one declared last will |
|
@@ -58,6 +57,17 @@ cannot be overridden by nested <code><property></code> elements.</p> |
|
|
different from the way <code><property></code> tasks in build |
|
|
different from the way <code><property></code> tasks in build |
|
|
files behave.</p> |
|
|
files behave.</p> |
|
|
|
|
|
|
|
|
|
|
|
<p>Properties defined on the command line cannot be overridden by |
|
|
|
|
|
nested <code><property></code> elements. <em>Since Ant |
|
|
|
|
|
1.8.0.</em> the same is true for nested structures |
|
|
|
|
|
of <code><ant></code> tasks: if a build file <em>A</em> |
|
|
|
|
|
invokes <em>B</em> via an <code><ant></code> task setting a |
|
|
|
|
|
property with a nested <code><property></code> element |
|
|
|
|
|
and <em>B</em> contains an <code><ant></code> tasks |
|
|
|
|
|
invoking <em>C</em>, <em>C</em> will see the value set |
|
|
|
|
|
in <em>A</em>, even if <em>B</em> used a |
|
|
|
|
|
nested <code><property></code> element as well.</p> |
|
|
|
|
|
|
|
|
<p>References to data types can also be passed to the new project, but |
|
|
<p>References to data types can also be passed to the new project, but |
|
|
by default they are not. If you set the inheritrefs attribute to |
|
|
by default they are not. If you set the inheritrefs attribute to |
|
|
true, all references will be copied, but they will not override |
|
|
true, all references will be copied, but they will not override |
|
|