[ACCEPTED]-Eclipse doesn't load plugins in the dropins folder-p2

Accepted answer
Score: 37

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


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

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

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

dropins/
   myPlugin
   plugins/
      depPluginDir1/*
      depPluginDir2/*

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

Score: 28

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

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

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

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

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

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

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

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

Some 1 relevant links:

Score: 4

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

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

Score: 2

Something that has just solved this very 5 same issue for me: start eclipse with the 4 command line parameters -clean -console 3 -consoleLog. The weird thing: with -clean 2 -console, it didn't work. Only after I added 1 -consoleLog, the bundles were recognized.

Score: 1

This ended up being an issue with Eclipse 5 for me. Placing the plugin jar in each of 4 the folders suggested, running as admin, etc. didn't 3 work.

What did solve it was downgrading 2 from a Juno package to Indigo. You can find 1 older versions of Eclipse here.

Score: 0

The local archive plug-ins work if you have 9 downloaded an update site plug-in. In that 8 case the dropins might not work.

About the 7 dropin structure, it always worked for me, but 6 I never use the eclipse folder inside my 5 own ones, only the plugins and features. Did 4 you extract the zip file to that structure?

If 3 yes, it should be worth checking the Error 2 log after Eclipse started, there might be 1 some unresolved dependecies listed.

More Related questions