[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6719) Make portal facets show up by default, disregarding runtime

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Tue Jul 27 08:51:37 EDT 2010


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

Snjezana Peco commented on JBIDE-6719:
--------------------------------------

There are the following JBoss Portlet Runtimes:

- JBoss Portal 2.x bundled with JBOss AS 4.x 
- GateIn Portal 3.x bundled with JBoss AS 5.1
- JBoss Portlet Container 2.0 bundled with JBoss AS 4.2 and Tomcat
- GateIn Portlet Container 2.1 bundled with JBoss AS 4.2, JBoss AS 5.1 and Tomcat
- EPP

The Portlet engine recognizes all these containers except GateIn Portlet Container bundled with JBoss AS 5.1. This server has a different name for simple-portal directory (simple-portal.sar instead of simple-portal). 

I think it would be better to make the Portlet engine recognizes this container then make portal facets show up by default.

If we set "Check Runtimes for Portlet Components" to false, this preference won't make sense. The user that knows that this preference can be set to true, will know which runtime is required.
I agree that the user that tries to create a portlet using a server that doesn't support the portlet component could be confused, but he will be more confused if he creates a portlet for such a server that won't be deployed correctly.

Re the issue with user libraries, I think they are set correctly within the JBoss Tools Portlet. User libraries are those libraries that are created by the user. If a Server Runtime supports Portlet components, the user can choose the "Portlet Target Runtime Provider" library container and doesn't have to add any other libraries. Maybe we could set this option by default.
I have checked Eclipse Portal Pack. It contains portlet API libraries within a plugin and creates a classpath container using those libraries. We avoid this option. See https://jira.jboss.org/browse/JBIDE-2792?focusedCommentId=12440167&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12440167

Max,
do you still want me to set this preference to false by default or you want me to fix the issue with GateIn Portlet Container 2.1 bundled with JBoss AS 5.1?

> Make portal facets show up by default, disregarding runtime
> -----------------------------------------------------------
>
>                 Key: JBIDE-6719
>                 URL: https://jira.jboss.org/browse/JBIDE-6719
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Portal/GateIn
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 3.2.0.M2
>
>
> Lets show portal facets by default since we are apparently not recognizing gatin/portal/epp consistently as this thread is indicating http://community.jboss.org/message/554546#554546
> And even if we did Portal is the only one with this behavior by default.
> We should also update the documentation to explain the "runtime detection toggle"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list