[jbosstools-issues] [JBoss JIRA] (JBIDE-17176) Unable to browse and select PortletBridge runtime liberaries in JPP 6

abhishek vijra (JIRA) issues at jboss.org
Wed Apr 23 03:30:33 EDT 2014


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

abhishek vijra commented on JBIDE-17176:
----------------------------------------

Work around : For the type JSF Portletbridge Runtime Provider, the Portletbridge Runtime expects a location (folder) which has the  portletbridge-api-3.3.1.Final.jar and the portletbridge-impl-3.3.1.Final.jar inside with an examples folder.

Please follow the below steps - 

1) Create a directory anywhere in your file system (e.g. 'portletbridgeruntime')
2) Copy portletbridge-api-3.3.1.Final-redhat-1.jar and portletbridge-impl-3.3.1.Final-redhat-1.jar from JPP 6.x to the directory
3) Create a directory 'examples'

So the directory would be like this:

$ cd portletbridgeruntime/
$ ls -l
total 316
drwxrwxr-x. 2    4096 Apr 18 14:13 examples
-rw-rw-r--. 1   43313 Apr 18 12:11 portletbridge-api-3.3.1.Final.jar
-rw-rw-r--. 1  273331 Apr 18 12:11 portletbridge-impl-3.3.1.Final.jar

Then point at the /portletbridgeruntime directory from the JBDS wizard.

I think this code logic is not compatible with JPP 6 as there is no examples folder now and locations of the jars have also changed
[1]https://github.com/jbosstools/jbosstools-portlet/blob/master/plugins/org.jboss.tools.portlet.core/src/org/jboss/tools/portlet/core/libprov/JSFPortletbridgeRuntimeLibraryProviderInstallOperationConfig.java#L58

	String[] fileList = folder.list(new FilenameFilter() {

public boolean accept(File dir, String name) {
if (name.startsWith("portletbridge") && name.endsWith(".jar")) { //$NON-NLS-1$ //$NON-NLS-2$
return true;
}
if (name.equals("examples")) { //$NON-NLS-1$
return true;
}
return false;
}


                
> Unable to browse and select PortletBridge runtime liberaries in JPP 6
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-17176
>                 URL: https://issues.jboss.org/browse/JBIDE-17176
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsf, portal-gatein
>    Affects Versions: 4.1.2.Final
>            Reporter: abhishek vijra
>
> For  Jboss Portal Platform . If one uses Jboss Tools to built portlet application . In Jboss Tools portlet wizard it is impossible to select the PortletBridge Runtime Liberaries 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list