tags:

views:

1811

answers:

4

I just downloaded Eclipse SDK 3.5.1 and want to install some add ons such as GEF, EMF, etc.

I downloaded all the zip files for everything I needed and decided to install them in the dropins folder. I read http://wiki.eclipse.org/Equinox_p2_Getting_Started and structured my dropin folder as specified:

eclipse/  
   dropins/  
     emf/  
       eclipse/  
         features/  
         plugins/  
     gef/  
       eclipse/  
         features/  
         plugins/  
     ... etc ...

When I start up Eclipse it does not recognize any of the features or plugins I have put into the structure above. Any ideas?

A: 

Don't place the zip files manually like that.

Use the wizard within Eclipse to install a local archive plug-in.

Ben S
I just tried this with dtp_1.7.1.zip and Eclipse threw and error saying "No software site found at jar:file:/Users/user/Desktop/dtp_1.7.1.zip!/. Do you wish to edit the location?"
rancidfishbreath
A: 

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

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

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

Zoltán Ujhelyi
The zips contain an Eclipse folder, but the main reason I used them was based on the article in the original post. Hmm I will have to look at the unresolved dependencies issue. I did not see anything in the log though.
rancidfishbreath
Yes, the eclipse folders shouldn't matter, to tell the truth.Maybe if you could use instead the Update manager, as a lot of projects are available from the Galileo update site (GEF, EMF, and other projects from the release train are available for sure).
Zoltán Ujhelyi
+1  A: 

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.

Yoni
This is what I ended up doing a awhile ago, but since nobody else said this I'll give you the accepted answer.
rancidfishbreath
+2  A: 

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 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/*
kc2001
+1 for updating an answered question with new useful information
rancidfishbreath
Thanks for this, it is too late for the original problem but I am sure it will pop up again and I will definitely try the OSGi console.
rancidfishbreath