[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-804) Red Hat Properties Editor does not maintain extra delimiters

Devon Hillard (JIRA) jira-events at lists.jboss.org
Mon Aug 20 20:37:18 EDT 2007


Red Hat Properties Editor does not maintain extra delimiters
------------------------------------------------------------

                 Key: JBIDE-804
                 URL: http://jira.jboss.com/jira/browse/JBIDE-804
             Project: JBoss Tools
          Issue Type: Bug
    Affects Versions: 2.0.0.Beta3
         Environment: OS X 10.4.10, JDK 1.5, Eclipse 3.3
            Reporter: Devon Hillard
            Priority: Minor


I'm basically asking that the editor not replace the delimiters, or strip out extra ones.

Please see the referenced forum thread, and this blog entry:

http://www.digitalsanctuary.com/tech-blog/java/jboss/jboss-tools-properties-editor-surprise.html

"Basically the resource bundle editor uses a space-equals-space to separate keys from values. " = ". This is how Sun's examples of resource bundle properties file look so that seems reasonable. However, the Red Hat editor goes by the strict definition of a Java Properties file, which lets you use spaces as the delimiter, and ignore any immediately subsequent delimiters. It then rewrites the delimiter to only the first valid delimiter it finds, which in this case is a space " ".

Then, the resource bundle editor apparently can't handle spaces as delimiters, in violation of the spec apparently, and can't handle the newly formatted properties files."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list