創建有助於UI的Eclipse插件通過Eclipse插件不FlashBuilder /彈性生成獨立工作
- 一個新的項目嚮導
- 在項目在Package Explorer 上下文菜單中的新菜單
- 一個新的項目性質+建設者
- 該插件
插件一個新的首選項頁面工作正常磨片n以Flex/Flashbuilder作爲插件安裝在正常的Eclipse實例中。
現在的問題是,當我將它安裝在Flex/Flashbuilder獨立實例中時,該插件從未被激活。上述功能都不可用。
我甚至不知道如何調試這一點,錯誤日誌(工作區/ .metadata/.LOG)出現以下消息,(但我不認爲這是有關的問題)
!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,[email protected]),WorkbenchWindowExpression([email protected])),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,[email protected]),WorkbenchWindowExpression([email protected])),sourcePriority=16640)
在「配置詳細信息」中,我的功能未顯示在*** Features: section
中,而我的插件未顯示在*** Plugin-in Registry: section
中。 但它們出現在Configured features
和Configured plug-ins
之下。
用-clean啓動FlashBuilder並沒有解決問題。 (啓動命令現在是 「C:\程序\的Adobe \ Flash Builder的測試版\ Gumbo.exe」 -clean)
我的插件依賴於
org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
com.adobe.flexbuilder.project
com.adobe.flexbuilder.project.ui
com.adobe.flexbuilder.ui
所有這些都應該是可用的,因爲我看見。 (如果他們不是,我希望會產生一個錯誤)
是你的插件和功能在獨立分佈滿足的依賴? 除此之外,在這樣的神祕案例中,我總是建議使用-clean參數啓動Eclipse,以強制Equinox刷新其緩存並重新讀取捆綁包信息。 – 2009-07-20 15:25:36
感謝您的評論,我更新了我的問題以包含更多信息。 – Janosch 2009-07-20 16:02:51