ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Jewett ...@syntheticplayground.com>
Subject Re: problem with macrodefs 'expiring' in 1.6beta2.
Date Fri, 14 Nov 2003 18:41:19 GMT

On Friday, November 14, 2003, at 10:22 AM, peter reilly wrote:

> On Friday 14 November 2003 18:15, Corey Jewett wrote:
> Vote for <local> for a local property.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23942

done.

>>
>> Would it be unreasonable for ant to choke and die horribly whenever a
>> build file attempts to reset a property? Should I file a bug request?
>
> No, it is a common ant idiom to set a property a number
> of times.
> The first one wins.
> For example:
> <property name="debug" value="false"/>
> <javac debug="${debug}" ../>
>
> This would normally set the debug level to false, however
> one may override this by:
> calling ant with ant -Ddebug=yes ..

The ability to set a property local to a target, would be sufficient. :)

Thanks again,
Corey


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


Mime
View raw message