Cannot find installed plugin on my Eclipse IDE after update - eclipse

I have updated my ubuntu desktop and the eclipse which i was running on the system got updated automatically. After the update all the options inside the eclipse are the same as they used to be by default.. all my customization has been lost and the perspectives, project templates are no more. Now when i tried to installed the plugins, eclipse returns me that the selected plugins has already been installed..
I want to know is it common with eclipse to show this behavior after each update? How to can i get back my old customization without deleting the installed plugin folder and install them from scratch again..

I didn't met the issue you mentioned before. but I suggest you can check whether your workspace location is changed after your plugin is installed/updated.
Actually, all your eclipse plugins configuration/preferences settings are stored into your {workspace_home}.metadata folder. it's not relevant about what plugin eclipse has installed, That's the reason why each time switch workspace, you need to re-customized preferences settings.
So, if you want to protect customized settings, pls consider backup .metadata folder properly.

Related

Eclipse doesn't save the previous settings like workspace & Plug-ins

I am using Eclipse Neon on my MacBook & every time I start Eclipse it prompts me for my workspace again and again even though I set it as my default one.
Same goes for the plug-ins I have installed , I need to install eclipse decompiler every time I load eclipse.
I get an error like : "This wizard helps you to import and reinstall previously installed plug-ins. It is triggered because
either you are launching eclipse for the first time or your Eclipse has been updated."
Can someone please assist me with this issue ?
I had the same problem after updating my Mac to Sierra: Eclipse would not remember the default workspace. After moving Eclipse into the Application folder, the problem disappeared.
The issue seems to come from a Mac OSX Sierra feature called 'path randomization' (see eclipse bug 507328). The actual solution to avoid the path randomization seems to be for eclipse to provide signed .dmg images (bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=461670).
Two workarounds that I can suggest are:
Start from the eclipse oomph installer when installing eclipse (see https://www.eclipse.org/forums/index.php?t=rview&goto=1754574#msg_1754574)
Start the actual eclipse executable file instead of opening the .App container

Is there some way to uninstall plugins for Eclipse Juno?

Every question dealing with uninstalling/disabling plugins for Eclipse Juno mentions an Uninstall button but I simply can't find it and Eclipse's help for Juno is sadly no help.
Has this ability been eliminated or omitted or is it in some place different for Juno?
The Uninstall... button is available from the About Eclipse dialog. From that dialog click Installation Details and it's under the Installed Software tab. This typically is only available for features, not plugins. If you can find the appropriate feature that contains the plugins you want to eliminate, that should do the trick for you.
If you are unsure of the feature containing the plugin, you can attempt to go the Installation History tab in the Installation Details window and try to Revert to a previous version of Eclipse that didn't have the plugins.
Finally, you can always manually go into your Eclipse installation folder under the plugins directory and remove them manually. This will sometimes require that you run eclipse -clean from your command line/terminal to truly get rid of the plugin. This is probably the most error prone approach as you could cause problems with features/plugins that may depend on the removed plugins.

Eclipse Plugin Installation

I want to install my pugine in eclipse without opening the eclipse. i have copied my plugin in plugin folder but by using this way i am not able to Uninstall plugin from eclise. When i am trying to uninstall plugin from "Eclipse Installation Detail" the Uninstall button is disable. i dont understand what is the proper way to install plugin without opening the eclipse. if is there any proper way then let me know.
Thanks
In latest versions of Eclipse (since Eclipse 3.4), a new provisioning mechanism appeared. You should never make any modification yourself in the Eclipse filesystem. You have to use p2 for manipulating your Eclipse installation.
Refer to the following links, for a first step in this install mechanism: http://wiki.eclipse.org/Equinox_p2_Getting_Started
To manipulate things without launching the Eclipse itself:
http://wiki.eclipse.org/Equinox_p2_director_application
If you manualy copy the plug-in in your Eclipse folder, then you are responsible for removing it. Since you didn't go through the Eclipse install mechanism, Eclipse is lacking the metadata needed to uninstall it. It basically says: "I see it is there, but I don't know how it got there, so better not remove it."
check this out:
http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/

Uninstalling and Deleting plug-ins from eclipse

I am uninstalling a plugin named X from eclipse uninstall option.
Now to make a clear approach I went to the eclipse plugins directory and delete the plugin jar file from there.
Now I am trying to reinstall the same plug-in and eclipse prompts an error saying
An error occurred during the
org.eclipse.equinox.internal.p2.engine.phases.CheckTrust
phase. session context
was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
operand=, action=). Error reading
signed content. The file
"D:\Testing\eclipse-jee-helios-SR1-win32\eclipse\plugins\x_1.1.3.jar"
does not exist
Now how to resolve the above issue
I have similar issue. I deleted those plugins related files from eclipse/plugins and eclipse/features directory. The reason why I did that is because I have already uninstalled the plugins from eclipse but the files remain in both directories.
I solved it by editing the eclipse/artifact.xml. I search all the artifacts with the id of my plugins and remove them. And I am able to reinstall the plugins again :)
You should never delete plugins you installed using the Eclipse installer under Help>Install New Software. Now there is directory used to drop in plugins as jars, which I am assuming you used, if so deleting it would result in the desired behavior assuming you shut down eclipse before hand. If not then you need clean your configuration area. In the future when removing go to Help>Install New Software>Already Installed software, there should be a remove once your there. :)
Goodluck.
As per eclipse documentation
You should not remove plug-ins from Eclipse. Plug-ins should be
installed as features using the Update Manager. The same Update
Manager can be used to disable plug-ins by disabling the feature they
belong to. Run Help > About Eclipse > Installation Details, select the
software you no longer want and click Uninstall. (On Macintosh it is
Eclipse > About Eclipse > Installation Details.) In older versions,
you might need to Run Help > Software Updates > Manage
Configuration..., select the feature of interest, and disable it with
the task shown in the right window.
When a feature is disabled, all its plug-ins will be disabled also.
They are still available on disk, and they can be enabled at any time
in the future.
To physically remove the feature and its plug-ins, you will have to
manually remove the feature from the eclipse/features directory and
its plug-ins from the eclipse/plugins directory. We advise extreme
caution here. Remove the wrong ones, and you may have quite some
trouble restoring your Eclipse to a stable state. Unless you care a
lot about hard disk use, we recommend leaving the plug-ins where they
are.
Note that when manually removing plugins as described above, some
metadata is still cached by Eclipse, which can lead to problems later
on. Running Eclipse with the -clean option can help with that, as it
causes Eclipse to clean the cached metadata
Thanks .. I am not sure what action actually fixed the exact problem i had.
I removed the plugin related files from plugins and features folder, removed entries from the artifact.xml file and opened eclipse with -clean option.
Run eclipse
Rename eclipse exe to eclipse.exe.back
Run updates
Updates executed successfully

How to install a custom plug-in in Eclipse Ganymede?

We have a custom plug-in. That is, the company where I'm working developed it in house.
I would like to install it as an available plug-in in Eclipse Ganymede. How do I do that?
From what I can figure out, the Eclipse software install only supports installation from Eclipse software update sites.
I went to Help -> Install New Software... -> Add -> Local...
to browse to a folder containing the plug-in. Although the dialog lets me add the directory as an update site, it doesn't work. It expects that directory to be a local Eclipse update site (I think). I get the error
No repository found at file:/G:/TOOLS/...
Next I just copied the plug-in into the plug-in directory under my Eclipse installation. That didn't work either. I also tried copying it into the dropins directory. No dice.
Can anyone enlighten me how to install a plug-in that's not on an "update" site?
Thanks in advance....
Usually an Eclipse plug-in packaged as zip file is install by extracting it into the Eclipse installation directory (or the plugins directory depending on how it is packaged, as it can also extract files in features directory).
Next restart Eclipse with the --clean option.
Did you check the Eclipse error log? Maybe the bundle is failing to deploy for some reason.
Otherwise, create a Feature and Update Site for your plugin as described here. An update site can either be a remote http server (SVN even), or a local directory. The nice thing is that you'll get versioning and the ability to upgrade and uninstall from inside Eclipse. It also makes things easier once your plugin grows into several plugins because they can be bundled together into a single, versioned feature.