Eclipse Plugin Fails to Load - eclipse

Eclipse can some times fail to load plugins. I have experienced this E3.7 with both ScalaIDE and GroovyEclipse.
In both cases some times the syntax highlighting fails. Also I have noticed some times plugin related menu items and popups do not appear. This is very much evident when you use the Pulse Eclipse distribution.
This is aggregated after using Eclipse of a while and going through a few updates. Some times a clean unzip and a download of the required plugin solve the issue.
Is there a way to get around these issues?

What are the problems with the plugins? Are they not found at all, or do they fail to load?
When you start up Eclipse, open the view "Plug-in Registry", find the plugin that causes problems and select to diagnose the plugin. This will determine if there are some dependencies that arent satisfied.
How have you installed the plugins? The correct way to do this is to use update sites. Just downloading and unzipping into the plugins catalog is not recommended.
There is also a trick to start up an OSGI console to diagnose plugins, see my answer here
This page can also provide some more help.

Related

Installing m2e connector removes junit integration

We've been facing this issue for quite some months now, and we can't seem to find any solutions for it so far (not many relevant threads on the internet about people having the same issues).
My team is using Eclipse. For some of our Maven poms, we need to install a specific m2e connector. The error we get is :
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.12:add-test-source (execution: add-source, phase: generate-sources)
Eclipse offers to install an additional connector to fix the issue. It can be installed, and indeed our Maven errors disappear after a restart of the application. The specific plugin to install is build-helper-maven-plugin.
However, this installations also has the interesting effect to completely remove the junit integration from eclipse. It becomes impossible to run tests, and all of the junit related context / views / perspectives / settings are gone for good.
When trying to install it again, the "Install new software" view indicates that the testing integration is already installed.
Existing junit views now show the following error :
Could not create the view: org.eclipse.jdt.junit.ResultView
So far our only solution has been to keep a backup of eclipse at all times, and simply replace the whole installation after maven has been run once.
Has this happened to anyone, or can someone point us in the direction on how to fix this?
The issue is reproducable on Neon 1 and 2, both for the default eclipse as well as the RCP developers flavor
We have tried to get help from the eclipse community but without success so far
Current eclipse installation :

Eclipse plugin does not work on some computer

I've made an eclipse plugin but for some reason it does not seem to work on some computer. By not work I mean that eclipse says that the plugin is installed but none of the menu contributions show up.
Since the computer is not mine what would be the best way to figure out why does it not work?
Is there any app that could give me a log of some kind?
Simar
Installed means the plugin has been found, but there are some dependencies unsolved that prevents it from launching. You want it to be resolved or active
Look at Dude, where's my bundle for more information on plugins and their different states. Install the Eclipse plugin development functionality to get plugin registry view, then you can diagnose your plugin. Or follow my advice here and use the osgi console to diagnose it.
The error or workspace log could also give some information regarding why the plugin wont start.

Deleting every eclipse plugin in Galileo

My eclipse runs horribly slow because I have thousands of plugins installed on it. I spoke with another friend who uses eclipse but he has none. I feel like none of these are necessary and I didn't even install so many. I have thousands of plugins and I tried reinstaling eclipse but I need to find a way to remove every single eclipse plugin.
Attempting to delete a plugin manually takes up to 5 minutes per plugin, so it could take me months or years before actually deleting all of these by hand.
Is there a feature in eclipse to delete all the plugins? Also I'm using WINDOWS XP
First, you need to understand that virtually everything in Eclipse is a plugin. Eclipse has a very small core runtime (Equinox) that loads all features from plugins. You can't just "delete every plugin" as doing so would leave you with nothing.
Also, just because a plugin is installed does not mean that it is always loaded or taking up resources. Eclipse uses a "lazy loading" architecture that will only load a plugin when some feature that it provides is actually invoked. Some plugins are probably written poorly in such a way that they are loaded too aggressively, but that would be the rare exception. So, in general, having lots of plugins is not a problem for performance.
If you do have a plugin that you want to remove, you can not just delete it from the plugins folder - as you've seen that will screw up your Eclipse installation. Don't do that.
One way to manage the features that you have installed, including installing ones that are able to be uninstalled, is to open the About dialog, then click the Installation Details button. There you'll be presented with a list of features that have been installed; you can select a feature and if it's possible to uninstall it the Uninstall... button will be enabled.
Often it's one bad third-party plugin/feature (not something from eclipse.org) that causes an Eclipse installation to have problems; try to find what it might be by process of elimination (uninstall all third-party plugins that you might have installed since your Eclipse was fresh).
Finally, as a last resort, it is trivial to remove Eclipse completely (just delete it from your file system) and re-install it fresh.
Having said all that, performance problems are usually due to an underpowered machine. What kind of processort do you have? How much RAM does your system have available after Windows boots up? Have you specified memory settings in eclipse.ini?

eclipse plugins not visible

I have recently installed gwt-plugin to my eclipse. But plugins are are not visible, even if I try to install it again, eclipse is not allowing me to install, saying its already installed.I even I ran eclipse as administrator(I am using it in windows 7) and also with clean option, nothing worked out.
And one more thing, After GWT installation, it gave two options - 'Restart' and 'Apply changes'.I have chosen 'Restart'. (Does it matter?)
Any help is appreciated..
Maybe you installed gwt-plugin correctly, but you are missing one of its dependencies? Take a look at this thread. One of the answers discusses using the OSGI console to locate missing dependencies.

How can I disable plugin version compatibility checking in Eclipse?

When I try to install Eclipse plugins, I often get an error with details like:
An error occurred while collecting
items to be installed No repository
found containing:
org.eclipse.equinox.concurrent/osgi.bundle/1.0.0.v20090520-1800
This is clearly a bug in Eclipse. The bundle I'm installing doesn't need any special version of anything, it's just a profiler plugin that works in literally any build of Eclipse 3.4. Refusing to install my plugin is not an acceptable course of action. Eclipse should stop showing this message and install the plugin.
I'm not sure exactly what error the Eclipse developers made, but I can see that the version compatibility checker is absolutely strict, and it should not be. Either it is incorrectly evaluating the required bundles, and failing as a result of its own blunder, or the version requirements of the bundles are loosely defined in a way that the version checker does not really understand.
So, is there a way to simply disable this version checker? The thing is crippling my Eclipse install. Frankly, Eclipse would be better if the thing were completely deleted from the application. We only need it to choose the correct version of existing plugins for binding OSGi services. We don't need our development tools to kibitz about whether a plugin seems proper.
Thanks in advance for any suggestions.
Byron
As mentioned in the wiki
The message indicates that the Eclipse provisioning system P2 has found meta data to install a plug-in but can not locate an artifact repository that provides the required downloads
It is suggested to remove update sites and re-add the same update sites, to trigger a refresh, but in your case, it is not your plugin update site which is involved.
There is indeed a bug (236437) with Eclipse 3.4 about "Lost artifact repositories". It has been solved in Eclipse3.5, but if you cannot use that version, there may be a workaround:
1) export the update site listing to bookmarks.xml file (Software Updates->Manage Sites->Export)
2) stop eclipse
3) remove configuration/.settings/org.eclipse.equinox.p2.*.prefs files
4) start eclipse
5) import the bookmarks.xml file (Software Updates->Manage sites->Import) that was exported in step 1
Comment #59 helped me fix my updating problem, thanks!
Though, I think maybe it was enough to just delete the configuration/.settings/org.eclipse.equinox.p2.*.prefs files as I have a feeling that the problem was already resolved before I imported the bookmarks file (things happened a bit in parallel for me here).
Note for Eclipse3.5 users:
I am seeing this in 3.5.1 when trying to install stuff from an old style update
site when I include site.xml:
http://www.perforce.com/downloads/http/p4-wsad/install/site.xml
If I remove site.xml I can install things fine.