Eclipse Plugin does not work in FlashBuilder/FlexBuilder Standalone
Posted
by Janosch
on Stack Overflow
See other posts from Stack Overflow
or by Janosch
Published on 2009-07-20T13:42:15Z
Indexed on
2010/05/20
20:40 UTC
Read the original article
Hit count: 602
Hi, created an Eclipse plugin that contributes to the UI by
- a new project wizard
- a new menu in the context menu of projects in the Package Explorer
- a new project nature + builder
- a new preference page for the plugin
The plugin works fine when installed in a normal Eclipse instance with Flex/Flashbuilder as plugin.
The problem now is, that the plugin never gets activated when i install it in a Flex/Flashbuilder Standalone instance. Neither of the features described above is available.
I even have no idea how to debug this, error-log (workspace/.metadata/.log) the following message appears, (but i dont think it is related to the problem)
!ENTRY org.eclipse.ui.workbench 2 0 2009-07-20 17:51:17.984
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2009-07-20 17:51:17.984
!MESSAGE Conflict for 'org.eclipse.ui.navigate.openResource':
HandlerActivation(commandId=org.eclipse.ui.navigate.openResource, handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.internal.ide.handlers.OpenResourceHandler),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.NavigateActionSet,org.eclipse.ui.internal.WorkbenchWindow@1c45731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1c45731)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ui.navigate.openResource,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.internal.ide.handlers.OpenResourceHandler),
expression=AndExpression(ActionSetExpression(com.adobe.flexbuilder.standalone.navigate,org.eclipse.ui.internal.WorkbenchWindow@1c45731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1c45731)),sourcePriority=16640)
In the "Configuration Details" my feature doesn't show up in the *** Features: section
and my plugin doesn't show up in the *** Plugin-in Registry: section
.
But they appear under Configured features
and Configured plug-ins
.
Starting FlashBuilder with -clean didn't solve the problem. (the start command is now "C:\Programme\Adobe\Flash Builder Beta\Gumbo.exe" -clean)
My plugin depends on
org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
com.adobe.flexbuilder.project
com.adobe.flexbuilder.project.ui
com.adobe.flexbuilder.ui
All of these should be available, as i see it. (and an error should be generated if they were not, i hope)
© Stack Overflow or respective owner