ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Vote: <local> for 1.6
Date Thu, 23 Oct 2003 12:39:23 GMT
On Thu, 23 Oct 2003, peter reilly <peter.reilly@corvil.com> wrote:
> On Thursday 23 October 2003 12:31, Stefan Bodewig wrote:

>> I haven't checked, but does you current implementation allow
>> <local> to shadow use properties?  IMHO it shouldn't.
> 
> It does shadow user properties. The reason is to support <macrodef>
> attributes. It would be confusing if a macrodef attribute
> were overridden by a user -Dx=y command line.

When <attribute>s don't create locals this is no issue, is it?

> However, I could change the implemenation so that <local> did not
> shadow user properties, and macrodef attributes did.

Yes.

<target name="i-have-won-over-gump">
  <local name="build.sysclasspath" value="ignore"/>
  <javac ..../>
</target>

would create undesirable results for a certain part of our user base
otherwise ;-)

Stefan

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


Mime
View raw message