ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54819] PropertyFile Task entry key/value adds backslash to properties
Date Tue, 09 Apr 2013 14:46:18 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54819

Jesse Glick <jglick@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@apache.org

--- Comment #2 from Jesse Glick <jglick@apache.org> ---
Or more precisely, _a_ correct format. In this case it is not necessary to emit
the backslashes. It is just simpler to escape all occurrences of certain
characters, rather than determining in each case whether it might be
interpreted as a metacharacter in input. Other implementations such as
http://hg.netbeans.org/main-silver/raw-file/ccc42f413d4c/openide.util/src/org/openide/util/EditableProperties.java
may choose to be more sparing with escape characters so as to maximize human
readability, so long as Properties.load still recognizes the result. At any
rate, any tool dealing with *.properties files must follow the standard syntax.

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

Mime
View raw message