Plugins 无法导出Eclipse插件

Plugins 无法导出Eclipse插件,plugins,eclipse-plugin,Plugins,Eclipse Plugin,我创建了一个插件,在现有菜单中添加一个菜单(使用Hello,World命令) 当我在测试时运行它时,创建了运行时EclipseApplication,我可以看到菜单和命令。但是当我从导出向导安装它时,我看不到菜单 没有用于调试此问题的日志 我已经安装了相同类型的插件(使用Hello,World命令)。这会引起什么问题吗 这是plugin.xml <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.4"?

我创建了一个插件,在现有菜单中添加一个菜单(使用Hello,World命令)

当我在测试时运行它时,创建了运行时EclipseApplication,我可以看到菜单和命令。但是当我从导出向导安装它时,我看不到菜单

没有用于调试此问题的日志

我已经安装了相同类型的插件(使用Hello,World命令)。这会引起什么问题吗

这是plugin.xml

    <?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
     point="org.eclipse.ui.commands">
      <category
        name="Sample Category"
        id="CheckList.commands.category">
      </category>
      <command
        name="Create Checklist"
        categoryId="CheckList.commands.category"
        id="CheckList.commands.sampleCommand">
      </command>
   </extension>
   <extension       
     point="org.eclipse.ui.handlers">
      <handler
        commandId="CheckList.commands.sampleCommand"
        class="checklist.handlers.createChecklistHandler">
      </handler>
   </extension>
   <extension
     point="org.eclipse.ui.bindings">
      <key
        commandId="CheckList.commands.sampleCommand"
        contextId="org.eclipse.ui.contexts.window"
        sequence="M1+8"
        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </key>
   </extension>
   <extension
     point="org.eclipse.ui.menus">
      <menuContribution
        locationURI="menu:org.eclipse.ui.main.menu?after=additions">
         <menu
           label="Create Checklist"
           mnemonic="M"
           id="CheckList.menus.sampleMenu">
            <command
              commandId="CheckList.commands.sampleCommand"
              mnemonic="C"
              id="CheckList.menus.sampleCommand">
            </command>
         </menu>
      </menuContribution>
      <menuContribution
        locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
         <toolbar
           id="CheckList.toolbars.sampleToolbar">
            <command
              commandId="CheckList.commands.sampleCommand"
              icon="icons/sample.gif"
              tooltip="Create migration Checklist"
              id="CheckList.toolbars.sampleCommand">
            </command>
         </toolbar>
      </menuContribution>
   </extension>

</plugin>

我怀疑新菜单位于启动配置中的插件中,但不在产品定义中

编辑:

我希望您当前的产品定义是基于插件的,而不是基于功能的:

现在,您可以通过“依赖项”页面添加所需的插件:


您是否使用了另一个已安装的插件名称?@scawf no。。我使用了不同的名称。你应该尝试为菜单使用不同的id。我想这可能是问题所在。了解产品定义有什么帮助吗