You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/01/01 13:13:36 UTC

[Bug 54769] Properties are not set correctly when reading from a file with prefix.

https://issues.apache.org/bugzilla/show_bug.cgi?id=54769

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.9.4

--- Comment #4 from Stefan Bodewig <bo...@apache.org> ---
First of all, Nicolas, I'm very sorry it took so long for anybody of the team
to respond.

You haven't done anything wrong, the only thing you could have done was nagging
us a more aggressive way.  Things tend to get forgotten when they pop up at a
point in time when you cannot deal with them right away.

Nested property expansion in property files has been a sore point for quite a
few releases, we have repeatedly broken it over the past few years as there are
too many ways to get it wrong.  Your approach of resolving one property after
the other won't work when prefixValues is true (or there is no prefix at all)
and the iterator isn't returning keys in the order needed - you may end up with
unexpanded properties because the property refered to in the value side hasn't
been iterated over, yet.

should be fixed by svn revision 1554614

-- 
You are receiving this mail because:
You are the assignee for the bug.