From user-return-42247-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Apr 02 06:23:44 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 30153 invoked from network); 2 Apr 2004 06:23:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 06:23:44 -0000 Received: (qmail 97058 invoked by uid 500); 2 Apr 2004 06:23:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97025 invoked by uid 500); 2 Apr 2004 06:23:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 97002 invoked from network); 2 Apr 2004 06:23:13 -0000 Received: from unknown (HELO bodewig.bost.de) (62.96.16.111) by daedalus.apache.org with SMTP; 2 Apr 2004 06:23:13 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.11.6/8.11.6) id i326NO003577; Fri, 2 Apr 2004 08:23:24 +0200 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: user@ant.apache.org Subject: Re: passing property from Userdefined task to build file X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 39984) References: <20040401212416.44519.qmail@web20413.mail.yahoo.com> From: Stefan Bodewig Date: Fri, 02 Apr 2004 08:23:24 +0200 In-Reply-To: <20040401212416.44519.qmail@web20413.mail.yahoo.com> (Matt Benson's message of "Thu, 1 Apr 2004 13:24:16 -0800 (PST)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 On Thu, 1 Apr 2004, Matt Benson wrote: > getProject().setProperty(name, value); If you wanted to play by Ant's property immutability rules, you'd use setNewProperty instead of setProperty. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org