[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    Re: Q: Is this intended with multiple <local> with same scope ?
From:       Stefan Bodewig <bodewig () apache ! org>
Date:       2010-03-05 14:08:49
Message-ID: 87k4tqkgi6.fsf () v35516 ! 1blu ! de
[Download RAW message or body]

On 2010-03-04, Wascally Wabbit <wascallywabbit@earthling.net> wrote:

> Stefan Bodewig wrote:
>> On 2010-02-26, Simone Cato <simonecato@gmail.com> wrote:

>>> 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@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic