[
https://issues.jboss.org/browse/JBIDE-15768?page=com.atlassian.jira.plugi...
]
Gorkem Ercan commented on JBIDE-15768:
--------------------------------------
Most plugins do not add the necessary information that would enable us to detect supported
platforms and cordova registry does not force plugins in that direction. Hence, I have
implemented an informative message that explains the possible failure reasons.
The new message box is on the master to be released to Beta2
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
Assignee: Gorkem Ercan
Fix For: 4.2.0.Beta2
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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 was sent by Atlassian JIRA
(v6.2.3#6260)