[
https://issues.jboss.org/browse/JBIDE-15768?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-15768:
--------------------------------------
plugins have platform specific and general parts. At the moment we process the general
parts of a plugin even if a plugin does not support iOS and Android. However, their
platform specific parts are either not processed or fails because we do not have the
treatment for that platform in place. The changes to config.xml are platform specific so
they have not been created but creation of the plugin directory is general so that part of
the installation completes.
Ideally we should not attempt to install plugins that do not support the platforms we
support. I am planning an improvement on that direction once Cordova registry also
implements some supporting features.
Can't add Blackberry plug-ins listed in Cordova Discovery Wizard
----------------------------------------------------------------
Key: JBIDE-15768
URL:
https://issues.jboss.org/browse/JBIDE-15768
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Affects Versions: 4.1.1.Beta1
Reporter: Michelle Murray
Errors or no action when try to add blackberry items in Cordova Plugin Discovery wizard.
In Cordova Configuration Editor, Platform Properties mode:
1. Click Add for first features table (opens Cordova Plugin Discovery window)
2. Select check box for blackberry item (e.g., com.blackberry.pim.contacts)
3. Click Next
4. Click Finish
> Nothing happens
Command line shows:
{noformat}
[Fatal Error] plugin.xml:46:25: The prefix "rim" for element
"rim:permit" is not bound.
java.lang.reflect.InvocationTargetException
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: Parsing error
/home/mmurray/.plugman/cache/com.blackberry.pim.contacts/1.0.0/package/plugin.xml
at org.jboss.tools.aerogear.hybrid.core.util.XMLUtil.loadXML(XMLUtil.java:63)
at org.jboss.tools.aerogear.hybrid.core.util.XMLUtil.loadXML(XMLUtil.java:48)
at
org.jboss.tools.aerogear.hybrid.core.plugin.CordovaPluginManager.installPlugin(CordovaPluginManager.java:108)
at
org.jboss.tools.aerogear.hybrid.ui.plugins.internal.CordovaPluginWizard$PluginInstallOperation.execute(CordovaPluginWizard.java:124)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
... 1 more
Caused by: org.xml.sax.SAXParseException; systemId:
file:/home/mmurray/.plugman/cache/com.blackberry.pim.contacts/1.0.0/package/plugin.xml;
lineNumber: 46; columnNumber: 25; The prefix "rim" for element
"rim:permit" is not bound.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
at org.jboss.tools.aerogear.hybrid.core.util.XMLUtil.loadXML(XMLUtil.java:58)
... 7 more
{noformat}
--
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