Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

BZ 48768: Properties wrongly read from file or not update during read

Matt Benson

2010-02-18

Replies: Find Java Web Hosting

Author LoginPost Reply
Convenience link: https://issues.apache.org/bugzilla/show_bug.cgi?
id=48768

This problem happens in src/main/org/apache/tools/ant/property/
ResolvePropertyMap.java . Peter, you extracted this class some two
years ago, but at the point in the code at which the offense takes
place, there is the comment:

     // Note: the master overrides (even if the name is subsequently
     //     prefixed)

I realize it's been awhile, but due to there being a comment to the
effect that this behavior is intentional, do you have any
recollection of why this was necessary? The behavior reported in BZ
does seem counter-intuitive and wrong. Is there some rationalization
for why the behavior is correct that I am not grasping?

Thanks,
Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.