Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse plugins vs features vs dropins

What is the difference between these things from an Eclipse installation?

  • plugins
  • features
  • dropins folder

What is the correct use of these folders?

like image 613
autobiographer Avatar asked May 04 '10 08:05

autobiographer


People also ask

What are Eclipse Dropins?

The Eclipse platform ships with a default watched directory called dropins. The dropins folder is configured to be scanned during startup, and for changes to be immediately applied to the running system. Thus the dropins folder can be used much like the plugins directory was used in the past.

What are Eclipse plugins?

Plugin , which is an abstract class that provides generic facilities for managing plug-ins. An Eclipse installation includes a plugins folder where individual plug-ins are deployed. Each plug-in is installed in its own folder under the plugins folder. A plug-in is described in an XML manifest file, called plugin.


2 Answers

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.

like image 197
VonC Avatar answered Sep 28 '22 01:09

VonC


The dropins directory should be used to install a plugin manually. The typical process is that you download a plugin and extract that archive to the dropins directory.

The plugins directory on the other hand is reserved for Eclipse's updater. You should not mess with it manually. Eclipse will store all plugins you install using "Help"->"Software Updates" or "Help"->"Install new software" (depending on your Eclipse version).

like image 28
Ham Vocke Avatar answered Sep 28 '22 02:09

Ham Vocke