Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-804

Red Hat Properties Editor does not maintain extra delimiters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 4.6.0.Final
    • 2.0.0.Beta3
    • None
    • None

    Description

      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."

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            modoc_jira Devon Hillard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: