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

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

Probably not a conscious choice.

> <property name="who" value="fred"/>
> <sequential>
>   <!-- 'who' is 'fred' here...[OK]-->

>   <local name="who"/>
>   <!-- 'who' is undefined here...[OK]-->

>   <property name="who" value="barney"/>
>   <!-- 'who' is 'barney' here...[OK]-->

>   <local name="who"/>
>   <!-- 'who' is undefined here?...[EH?]-->  <!-- [?] -->

You've just created a new local binding for the name "who", destroying
the old local binding.

>   <property name="who" value="mrstone"/>
>   <!-- 'who' is 'mrstone' here?...[EH?]-->  <!-- [?] -->

That's fine, isn't it?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to