DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35929>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35929 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX | ------- Additional Comments From [EMAIL PROTECTED] 2005-10-04 19:22 ------- Hi. Properties are always created by <property> underlying logic and only <property> should be aware of their immutability (not the tasks that make use of it). <echo> coding would be cleaner if it stored the "unresolved" message and not the resolved one (where properties have been replaced by their values). I'm using ant-contrib, and the <echo> in the following snippet only echoes the value ${current-rdbms-dir} takes on it's first iteraction, while <subant> always evaluates the property value ... this seems to violate the documented behaviour for Ant, don't you think? <target name="default"> <for param="current-rdbms-dir"> <dirset dir="${user.dir}/${do}/database" includes="*"/> <sequential> <echo message="${current-rdbms-dir}"/> <subant target="${current-rdbms-dir}"/> </sequential> </for> </target> (In reply to comment #2) > Properties are immutable; they can never change once they are set. The > behavior > you describe is the desired and documented behavior. > > http://ant.apache.org/manual/CoreTasks/property.html -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]