Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 82338 invoked from network); 11 Feb 2004 01:35:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Feb 2004 01:35:04 -0000 Received: (qmail 21545 invoked by uid 500); 11 Feb 2004 01:34:41 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 21486 invoked by uid 500); 11 Feb 2004 01:34:40 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 21467 invoked from network); 11 Feb 2004 01:34:40 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 11 Feb 2004 01:34:40 -0000 Received: (qmail 28281 invoked by uid 50); 11 Feb 2004 01:35:07 -0000 Date: 11 Feb 2004 01:35:07 -0000 Message-ID: <20040211013507.28280.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 26844] New: - Add Parameter attribute which would allow the parameter to be mutable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26844 Add Parameter attribute which would allow the parameter to be mutable Summary: Add Parameter attribute which would allow the parameter to be mutable Product: Ant Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: dlcole@panhandleenergy.com It would be extremely helpful if the parameter task contained an optional attribute which would turn the parameter into a mutable parameter. I realize that for backwards compatibility that the attribute should be optional and default to false, but I cannot tell you how many times this problem has caused me to go through additional efforts to come up with a workaround. If the parameter was mutable then when calling subtasks, if inheritAll="true", the subtask should be be working with a reference to the original parameter or the parameter value should be copied back to the calling task upon completion of the subtask call. An example of how it might look would be the following: By allowing it to be optionally mutable, I could later us a condition to call a subtask which would modify the attribute if needed: