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

Using JBoss Tools Properties Editor, breaks the format (or removes) multiline property value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Alpha1
    • 4.1.0.Final
    • common
    • None

      In eclipse juno with JbossTools installed and jboss tools property editor opening my .properties files

      when I write in the file some something like

      javascript.files=\
      #

      1. JQuery scripts
        #
        \
        jquery.js,\
        j2browse.js,\
        livequery.js,\

      it saves the file correctly BUT when I close this file and open it again the jboss tools properties editor parses the file and it becames something like this

      javascript.files=#

      1. JQuery scripts
        #
        \
        jquery.js,\
        j2browse.js,\
        livequery.js,\

      That's it.

      another error that I've identified is already reported at this link https://issues.jboss.org/browse/JBIDE-3833 BUT this issue is marked as resolved but it is not resolved.. the jboss tools properties editor still removes multiplie values variables from the file when it OPENS the file.

      so this:

      js.files = util.js
      js.files = jquery.meiomask.js
      js.files = json2.0.js

      becames this:

      js.files = json2.0.js

      I think that the jboss tools parses the file and removes the multiple.. if the user dont modified the file and save the original file is not changed, but if any change is made to the file it is saved with the modifications made by jboss tools properties editor

            scabanovich Viacheslav Kabanovich (Inactive)
            thiagoh thiago andrade (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: