Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 22209 invoked from network); 7 Jun 2000 15:37:32 -0000 Received: from smtp01ffm.de.uu.net (192.76.144.150) by locus.apache.org with SMTP; 7 Jun 2000 15:37:32 -0000 Received: from sbodewig.bost.de ([195.127.75.69]) by smtp01ffm.de.uu.net (5.5.5/5.5.5) with ESMTP id RAA10238 for ; Wed, 7 Jun 2000 17:37:31 +0200 (MET DST) Received: (from bodewig@localhost) by sbodewig.bost.de (8.9.3/8.9.3) id RAA03999; Wed, 7 Jun 2000 17:37:30 +0200 X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-dev@jakarta.apache.org Subject: Re: properties - order of evaluation? References: <13356BB49A60D311A446009027B0F467AED4D3@bayexch2.discoverbrokerage.com> From: Stefan Bodewig Date: 07 Jun 2000 17:37:30 +0200 In-Reply-To: "Reynolds, Ron"'s message of "Wed, 7 Jun 2000 07:54:19 -0700" Message-ID: Lines: 21 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "RR" == Reynolds, Ron writes: RR> this looks like an order-of-evaluation problem. is there a fix or RR> do i write this off as a property of properties? Your best bet is to do so, at least for the moment, yes. Properties are expected to change their behavior in the next Ant releases. RR> i've been thinking about this further (again, i haven't looked at RR> the source yet) and what seems to be happening is that symbols RR> are being evaluated as the properties are being loaded. Yes, and property tasks get executed at parse time and only the last value for properties in the build.xml file gets assigned if there are several tasks for the same property name ... Properties are confusing at the moment. Better consider them something like XML entities which is totally consistent with replacing them at parse time. Stefan