Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: Q: Is this intended with multiple <local> with same scope ?

Stefan Bodewig

2010-03-05

Replies: Find Java Web Hosting

Author LoginPost Reply
On 2010-03-04, Wascally Wabbit <wascallywabbit@(protected):

> Stefan Bodewig wrote:
>> On 2010-02-26, Simone Cato <simonecato@(protected):

>>> Is this the intended effect of multiple <local>s within the same scope?

>> Probably not a conscious choice.

<snip/>

> Well I was a bit surprised actually as that's not
> mentioned in the <local> description. I thought <local>
> let me re[un]define a property within a local scope
> ONCE. In actuality it fundamentally changes what
> <property/> means even within a single scope. <property>
> no longer creates a write-once, read-many item within
> a single scope.

Like I said, I don't know whether this was intended when local
properties were introduced - and it isn't documented either way. OTOH
we'd have a hard time changing it now after the release of 1.8.0 even if
we now realized it to be wrong.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.