From eb9ac0c3885f6eca8e8fa1eef67b3b5fae2af72f Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 2 Sep 2008 04:27:45 +0000 Subject: [PATCH] document 's behavior when multiple nested s set the same property. PR 45226. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@691102 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/ant.html | 6 ++++++ docs/manual/CoreTasks/antcall.html | 6 ++++++ docs/manual/CoreTasks/subant.html | 7 +++++++ 3 files changed, 19 insertions(+) diff --git a/docs/manual/CoreTasks/ant.html b/docs/manual/CoreTasks/ant.html index e711c46f0..eb7bdd52c 100644 --- a/docs/manual/CoreTasks/ant.html +++ b/docs/manual/CoreTasks/ant.html @@ -52,6 +52,12 @@ regardless of the setting of inheritAll. This allows you to parameterize your subprojects. Properties defined on the command line cannot be overridden by nested <property> elements.

+

When more than one nested <property> 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 <property> tasks in build + files behave.

+

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 diff --git a/docs/manual/CoreTasks/antcall.html b/docs/manual/CoreTasks/antcall.html index 12fe3306b..70b161c6f 100644 --- a/docs/manual/CoreTasks/antcall.html +++ b/docs/manual/CoreTasks/antcall.html @@ -45,6 +45,12 @@ regardless of the setting of inheritAll. This allows you to parameterize your subprojects. Properties defined on the command line can not be overridden by nested <param> elements.

+

When more than one nested <param> 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 <property> tasks in build + files behave.

+

Nested <reference>; elements can be used to copy references from the calling project to the new project, optionally under a different id. References taken from diff --git a/docs/manual/CoreTasks/subant.html b/docs/manual/CoreTasks/subant.html index 94652f54f..43f298cdd 100644 --- a/docs/manual/CoreTasks/subant.html +++ b/docs/manual/CoreTasks/subant.html @@ -355,6 +355,13 @@

Corresponds to <ant>'s nested <property> element. + +

When more than one nested <property> 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 <property> tasks in build + files behave.

+