[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9318) Import of Seam Web Project with Seam/JSF Portlet Facets does not work

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Wed Aug 3 09:00:07 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618454#comment-12618454 ] 

Snjezana Peco commented on JBIDE-9318:
--------------------------------------

I can't reproduce the case.
I suppose you are talking about the JBoss Portlet Libraries container. It contains the following entry in the .classpath file:
...
<classpathentry exported="true" kind="con" path="org.jboss.tools.portlet.core.internal.portletlibrarycontainer.runtime"/>
...
that would have to be present when you import a project to a new workspace.
The classpath container adds the portlet-api library from the Server Runtime and doesn't have any entry if you haven't added any EPP/GateIn runtime to the project. 
Check if there is the classpath container in the .classpath file or uncheck the "Empty library containers" filter in the Package Explorer view (click the Package Explorer menu and call Filters).
If this container doesn't exist, you can add it by removing and adding Portlet facets again. 
We can also implement the org.eclipse.jdt.ui.classpathContainerPage ext. point for adding/changing some container entry if you want.

If you have created the Portlet container using User Library, you have to create such a library in the new workspace.

> Import of Seam Web Project with Seam/JSF Portlet Facets does not work
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-9318
>                 URL: https://issues.jboss.org/browse/JBIDE-9318
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Portal/GateIn
>    Affects Versions: 3.2.0.Final
>         Environment: EPP 5.1/JBDS4.0
>            Reporter: Gary Lamperillo
>            Assignee: Snjezana Peco
>             Fix For: 3.2.2, 3.3.0.M3
>
>
> 1. Create a Seam Web Project with Seam/JSF Portlet facets.
> 2. Verify the Portlets are functional
> 3. Have someone else try to Import this Project in another workspace 
> 4. The project is not functional, since you are unable to set the Portlet facets runtime/library settings.  This is a one time operation that the wizards handle for new projects only.

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