]
Snjezana Peco updated JBIDE-7577:
---------------------------------
Attachment: org.jboss.tools.seam.core.patch
Seam Runtimes preference isn't imported correctly after
SeamRuntimeRecognizer is created
----------------------------------------------------------------------------------------
Key: JBIDE-7577
URL:
https://jira.jboss.org/browse/JBIDE-7577
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.2.0.Beta1
Reporter: Snjezana Peco
Assignee: Alexey Kazakov
Attachments: org.jboss.tools.seam.core.patch
Steps to reproduce:
- start Eclipse
- create Seam Runtimes
- call File>Export>Preferences
- choose the "JBoss Runtimes" preferences (or Export All Preferences)
- export the preferences to a file (test.epf)
- restart Eclipse in a new workspace
- open the Seam perspective
- open Window>Preferences>JBoss Tools>Seam and make sure that there aren't
any Seam Runtime (the Seam preference page will instantiate SeamRuntimeRecognizer)
- close the Preferences dialog
- call File>Import>Preferences
- choose the "JBoss Runtimes" preferences (or Import All Preferences)
- point to the file you previously exported (test.epf)
- import the preferences
- open Window>Preferences>JBoss Tools>Seam
There isn't any Seam Runtime. If you look at test.epf, you can see that the Seam
Runtimes preference
(/instance/org.jboss.tools.seam.core/org.jboss.tools.seam.core.runtime.list) is exported
correctly.
The problem is that SeamRuntimeManager, when it is once created, ignores the change to
the Seam Runtimes preference. Attached is a patch.
Restart Eclipse and Seam runtimes will appear (SeamRuntimeRecognizer is created again).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: