You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2008/09/02 06:27:47 UTC

svn commit: r691102 - in /ant/core/trunk/docs/manual/CoreTasks: ant.html antcall.html subant.html

Author: bodewig
Date: Mon Sep  1 21:27:45 2008
New Revision: 691102

URL: http://svn.apache.org/viewvc?rev=691102&view=rev
Log:
document <ant>'s behavior when multiple nested <property>s set the same property.  PR 45226.

Modified:
    ant/core/trunk/docs/manual/CoreTasks/ant.html
    ant/core/trunk/docs/manual/CoreTasks/antcall.html
    ant/core/trunk/docs/manual/CoreTasks/subant.html

Modified: ant/core/trunk/docs/manual/CoreTasks/ant.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/ant.html?rev=691102&r1=691101&r2=691102&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/ant.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/ant.html Mon Sep  1 21:27:45 2008
@@ -52,6 +52,12 @@
 parameterize your subprojects.  Properties defined on the command line
 cannot be overridden by nested <code>&lt;property&gt;</code> elements.</p>
 
+<p>When more than one nested <code>&lt;property&gt;</code> element
+  would set a property of the same name, the one declared last will
+  win.  This is for backwards compatibility reasons even so it is
+  different from the way <code>&lt;property&gt;</code> tasks in build
+  files behave.</p>
+
 <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
 true, all references will be copied, but they will not override

Modified: ant/core/trunk/docs/manual/CoreTasks/antcall.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/antcall.html?rev=691102&r1=691101&r2=691102&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/antcall.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/antcall.html Mon Sep  1 21:27:45 2008
@@ -45,6 +45,12 @@
 parameterize your subprojects.  Properties defined on the command line
 can not be overridden by nested <code>&lt;param&gt;</code> elements.</p>
 
+<p>When more than one nested <code>&lt;param&gt;</code> element
+  would set a property of the same name, the one declared last will
+  win.  This is for backwards compatibility reasons even so it is
+  different from the way <code>&lt;property&gt;</code> tasks in build
+  files behave.</p>
+
 <p>Nested <a href="#reference"><i><code>&lt;reference&gt</code>;</i></a> elements can
 be used to copy references from the calling project to the new
 project, optionally under a different id.  References taken from

Modified: ant/core/trunk/docs/manual/CoreTasks/subant.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/subant.html?rev=691102&r1=691101&r2=691102&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/subant.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/subant.html Mon Sep  1 21:27:45 2008
@@ -355,6 +355,13 @@
       </td></tr>
       <tr><td><blockquote>
         Corresponds to <code>&lt;ant&gt;</code>'s nested <code>&lt;property&gt;</code> element.
+
+<p>When more than one nested <code>&lt;property&gt;</code> element
+  would set a property of the same name, the one declared last will
+  win.  This is for backwards compatibility reasons even so it is
+  different from the way <code>&lt;property&gt;</code> tasks in build
+  files behave.</p>
+
  <!-- Ignore -->
  <!-- Ignore -->