问题描述
这些东西与 Eclipse 安装有什么区别?
What is the difference between these things from an Eclipse installation?
- 插件
- 特点
- 放置文件夹
这些文件夹的正确用途是什么?
What is the correct use of these folders?
推荐答案
我通常使用 dropins 在多个 Eclipse 安装之间共享插件.
请参阅这篇文章用于 Eclipse 中的 dropins 目录.
I usually use dropins for sharing plugins amongst multiple Eclipse installations.
See this article for the dropins directory within an Eclipse.
您可以使用一些不同的结构将插件放入 Dropins 文件夹中——我更喜欢按域将它们分开:
/dropins/exampleA/plugins/…
/dropins/exampleB/plugins/…
/dropins/exampleC/eclipse/features/…
/dropins/exampleC/eclipse/plugins/…
但我更喜欢引用外部 dropins 文件夹通过eclipse.ini.
But I prefer to reference an external dropins folder through the eclipse.ini.
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/jv/eclipse/mydropins
Eclipse 中的 plugins
/features
目录是插件的默认安装目录.
有关功能和插件之间差异的更多信息,请参阅我的 SO 答案:
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:
- 您将在
features
目录中复制功能(一组插件的声明) - 您将在
plugins
目录中复制实际插件本身.
- 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.
在 dropin 文件夹中(eclipse 中的文件夹或外部文件夹),您将获得相同的 plugins
/feature
结构.
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 dropins的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!