Eclipse插件vs功能vs插件 [英] Eclipse plugins vs features vs dropins

查看:156
本文介绍了Eclipse插件vs功能vs插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

eclipse安装中的插件,功能和dropins文件夹有什么区别?这些文件夹的正确使用是什么?

解决方案

我通常使用dropins在多个Eclipse安装之间共享插件。

请参阅本文用于Eclipse中的dropins目录。


您可以使用一些不同的结构将插件放入Dropins文件夹中 - 我更喜欢通过域分隔:




  / dropins / exampleA / plugins / ... 
/ dropins / exampleB / plugins / ...
/ dropins / exampleC / eclipse / features / ...
/ dropins / exampleC / eclipse / plugins / ...
/ pre>

但我更喜欢引用外部 dropins文件夹 通过eclipse.ini

  -Dorg.eclipse.equinox.p2.reconciler.dropins.directory = C:/ jv / eclipse / mydropins 






插件 / 目录是插件的默认安装目录。

有关功能和插件之间的差异的更多信息,请参阅我的 SO answer




  • 您将在功能目录中复制功能(声明一组插件)

  • ,您将在插件目录中复制实际的插件。



在dropin文件夹(eclipse或外部文件夹)中,您将收到相同的插件 / 功能结构。


What is the difference between the plugins, features and dropins folder from an eclipse installation? What is the correct use of these folders?

解决方案

I usually use dropins for sharing plugins amongst multiple Eclipse installations.
See this article for the dropins directory within an Eclipse.

you can use some different structures to place the plug-ins into the Dropins folder – I prefer to separate them by domain:

/dropins/exampleA/plugins/…
/dropins/exampleB/plugins/…
/dropins/exampleC/eclipse/features/…
/dropins/exampleC/eclipse/plugins/…

But I prefer to reference an external dropins folder through the eclipse.ini.

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/jv/eclipse/mydropins


The plugins/features directories in Eclipse are the default installation directories for plugin.
For more on the differences between features and plugins, see my SO answer:

  • you will copy features (declaration of a group of plugins) in the features directory
  • you will copy the actual plugins themselves in the plugins directory.

Within a dropin folder (either the one within eclipse or an external one), you will get back the same plugins/feature structure.

这篇关于Eclipse插件vs功能vs插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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