As an example, current case — I try to install GlassFish adapter in Eclipse. It fails, because it requires “org.eclipse.jst.j2ee.web 0.0.0”.
How can I figure out from the class (?) name which package I have to install? When I select Eclipse repository and search for “jst” I got 3 hits (from memory: JST Server Adapters, JST Server Adapters Extensions, and JST Server UI — all 3 are now installed, and the requirement is still not met).
Please note, this is just example — the question is not how to install GF, but how decode class (?) name into package.
If the dependency isn’t automatically determined, then I end up searching Google for the required dependencies of the plugin. Another way is to search for the class name and determining what Eclipse package that class is in. I really don’t think there is any better way, other then guessing.
For example, I entered
org.eclipse.jst.j2ee.webinto Google and ended at the WPT project page. Clicking around there I ended up the Java EE Tools page, and then the component overview page, which ultimately shows the package in question. I would then suspect that “Java EE Tools” is the Eclipse plugin that needs to be installed because of this text:However, it appears Eclipse itself calls this “Eclipse Java EE Developer Tools” instead.
It’s a headache, I am not going to argue that.