[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-7577) Seam Runtimes preference isn't imported correctly after SeamRuntimeRecognizer is created

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Sat Nov 13 17:45:43 EST 2010


     [ https://jira.jboss.org/browse/JBIDE-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov resolved JBIDE-7577.
-----------------------------------

    Fix Version/s: 3.2.0.Beta2
       Resolution: Done


Fixed. Snjezana, thanks for the 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
>             Fix For: 3.2.0.Beta2
>
>         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: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list