Eclipse doesn't load plugins in the dropins folder

This is probably a bit late to help you, but maybe it will help somebody else. I had a similar problem, so I posted a question to the Eclipse Community Forums asking about how to get a report about missing dependencies. Mickael Istria's helpful reply is shown below for those who aren't members of that forum:


You can start or diag the OSGi Console and try to start the bundle manually. The console will print you some warnings. See http://eclipse.org/equinox/documents/quickstart.php and for more details.

shell> eclipse -console
 [...Eclipse starts up...] 
osgi> diag your.unresolved.bundle
 [...shows you unresolved constraints...]

In my case, I tried several directory structures that I thought should work, before I found one that did:

dropins/
   myPlugin
   plugins/
      depPluginDir1/*
      depPluginDir2/*

Coming back years later to solve a similar problem..., I found the following web pages to be helpful: Where is My Bundle, Plug-ins are not picked up from the dropins/ folder.


First of all, run eclipse with -clean to ensure p2 fully rescans the dropins directory and sees your plugins.

If it still doesn't load you can use p2 debugging to see what the problem is also. For some strange reason p2 doesn't log dropins issues unless you explicitly turn it on with the following steps:

Create an .options file in the eclipse folder where you start up Eclipse with the following content:

org.eclipse.equinox.p2.core/debug=true
org.eclipse.equinox.p2.core/reconciler=true

Then run eclipse with the following arguments (last argument is the path to the .options file you just created):

eclipse -clean -console -consoleLog -debug /path/to/.options

PS, I have created this bugzilla to request it be turned on as a default. You can vote/track making this logging the default there.

PPS, @kc2001's suggestion is a good one also once you have narrowed down on what plugin has the issue and you want to troubleshoot it more.

Some relevant links:

  • http://wiki.eclipse.org/Equinox_p2_Getting_Started
  • http://www.eclipse.org/forums/index.php/m/116635/
  • http://www-01.ibm.com/support/docview.wss?uid=swg21428463

I suggest that you try to install those features via the update manager. EMF and GEF are standard features from Eclipse.org, there's no reason not to install them in Eclipse's main p2 repository folder (it is easy to uninstall them, in case that is your concern).

Have a look at the error log view (Window -> Show View -> Error Log) to see why they didn't load. My guess is that they are missing a dependency, but without more information it is difficult to answer your question. I also suggest looking at Help -> About Eclipse -> Installation Details to see what exactly is installed.

Tags:

Eclipse

P2