ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: How to initialize the value of a boolean property based on the output from Custom Java ANT task?
Date Wed, 03 May 2006 17:17:34 GMT
> this.getProject().setProperty(outputproperty, isLabelFrozen);

Please prefer setNewProperty. If I remember right, setProperty is
deprecated, and would override any existing property value, if any,
which is clearly a violation of Ant's "properties are immutable" law,
and might be surprising to your users (including yourself ;-). --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message