Eclipse插件在FlashBuilder / FlexBuilder Standalone中不起作用 [英] Eclipse Plugin does not work in FlashBuilder/FlexBuilder Standalone

查看:174
本文介绍了Eclipse插件在FlashBuilder / FlexBuilder Standalone中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

创建了一个通过


  • 新的项目向导

  • 的UI插件在包资源管理器中的项目的上下文菜单中的新菜单

  • 新项目性质+构建器

  • 插件的新首选项页面

  • 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

当使用Flex / Flashbuilder作为插件安装在普通的Eclipse实例中时,插件可以正常工作。

The plugin works fine when installed in a normal Eclipse instance with Flex/Flashbuilder as plugin.

现在的问题是,当我将它安装在Flex / Flashbuilder独立实例中时,插件永远不会被激活。上述功能都不可用。

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.

我甚至不知道如何调试这个错误日志(workspace / .metadata / .log),出现以下消息(但我不认为它与问题有关)

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)

在Con形状详细信息我的功能不会出现在 ***功能:部分,我的插件不显示在 ***插件注册表:部分
但它们出现在配置的功能配置的插件

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.

使用-clean启动FlashBuilder并没有解决问题。
(开始命令现在是C:\Programme\Adobe\Flash Builder Beta\Gumbo.exe-clean)

Starting FlashBuilder with -clean didn't solve the problem. (the start command is now "C:\Programme\Adobe\Flash Builder Beta\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

所有这些都应该可用,就像我看到的那样。 (如果没有,应该会产生错误,我希望)

All of these should be available, as i see it. (and an error should be generated if they were not, i hope)

推荐答案

我解决了!消息冲突通过编辑文件日志:

I've solved "!MESSAGE Conflict" in log by editing file:

 Adobe Flash Builder 4\plugins\com.adobe.flexbuilder.standalone_4.0.1.277662\plugin.xml

在此文件中,下一个标签是不必要的:

In this file next tag is unnecessary:

<actionSet
    description="%standaloneDescriptionNavigationActions"
    id="com.adobe.flexbuilder.standalone.navigate"
    label="%standalone.navigate.flex.navigation"
    visible="true">
     <action
           definitionId="org.eclipse.ui.navigate.openResource"
           label="%OpenWorkspaceFileAction.label"
           helpContextId="org.eclipse.ui.open_workspace_file_action_context"
           class="org.eclipse.ui.internal.ide.handlers.OpenResourceHandler"
           menubarPath="navigate/open.ext2"
           id="com.adobe.flexbuilder.standalone.navigate.OpenWorkspaceFile">
     </action>
  </actionSet>

此标签导致重复的打开资源...菜单项。这种重复引发了冲突。
注释(或删除),并使用干净选项启动Flash生成器:

This tag leads to duplicated "Open resource..." menu item. This duplication raises a conflict. Comment it (or remove) and start flash builder with clean option:

FlashBUilder.exe -clean

这篇关于Eclipse插件在FlashBuilder / FlexBuilder Standalone中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆