ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: properties - order of evaluation?
Date Wed, 07 Jun 2000 15:37:30 GMT
>>>>> "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.


View raw message