【问题标题】:Adding a sample plugin into Eclipse在 Eclipse 中添加示例插件
【发布时间】:2013-05-31 21:01:36
【问题描述】:

我有一个想要与我的 Eclipse IDE 集成的插件。我从网上下载的插件由两个jar文件组成,分别是:

org.eclipse.dg.ex.core_1.0.jar
org.eclipse.dg.ex.ui_1.0.jar 

如何将它们放入我的 IDE?我尝试将它们放在 Eclipse dropins 文件夹中,但我认为这可能不正确。

有人可以帮忙吗?

【问题讨论】:

    标签: eclipse plugins jar eclipse-plugin


    【解决方案1】:

    绝对属于 eclipse/plugins 文件夹。您可能还需要重新启动 eclipse。

    【讨论】:

    • 是的,我已经重新启动了 eclipse,但是这些插件似乎没有任何效果 :( 我不知道如何从 2 个 jar 文件中重新创建一个插件。我觉得这里有点失落。
    • 如果您使用的是 Eclipse 3.4 或更高版本,则不应将插件(使用文件系统操作)添加到 plugins 目录中,而应属于 dropins 文件夹。
    【解决方案2】:

    将插件放在dropins目录下是正确的!它不属于插件目录。自从p2 被添加到 Eclipse 中,dropins 目录被引入作为通过通用文件系统操作安装新插件的一种方式

    The dropins folder is configured to be scanned during startup. Thus the dropins folder can be used    
    much like the plugins directory was used in the past. 
    

    Here 是有关dropins 文件夹的一些信息。这还包括位于dropins 中的插件的有效布局。看一看。您很可能只需要正确“布局”插件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-03
      • 2014-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多