Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-2130 Migrate to Ganymede
  3. JBIDE-2257

Invalid preference page path: XML Occurrences and JSP Occurrences

XMLWordPrintable

      In order to reproduce the issue, you need to call Window>Preferences
      You will get the following messages:
      Invalid preference page path: JSP Occurrences
      Invalid preference page path: XML Occurrences
      The issue is caused by changes in wtp's preference pages.

      There is also a problem of initializing preferences within XML Occurrences (it also exists in the 2.1.x version).
      The issue can be reproduced by opening this page in a new workspace before opening some xml editor.
      All the preferences will be "false". This happening because the org.jboss.tools.common.text.xml plugin changes the preferences of the org.eclipse.wst.xml.ui plugin what causes the initializer of the org.jboss.tools.common.text.xml plugin no to be called.
      The initialization of these preferences is called in the XMLTextEditor constructor.
      In my opinion, it would be better to call it in the XmlEditorPlugin constructor. In that case, they would be initialized correctly before opening some xml editor.

        1. preference2x.gif
          preference2x.gif
          18 kB
        2. preference30.gif
          preference30.gif
          16 kB
        3. preference30fixed.gif
          preference30fixed.gif
          33 kB

              snjeza_jira Snjezana Peco (Inactive)
              snjeza_jira Snjezana Peco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: