Easy way to copy old plugins into new install of eclipse - eclipse

Is there an easy way to get a list of the plugins from an old version of Eclipse into the latest version.
I have my current version with all the plugins I want. Now I want to upgrade to the nice shiny and new version but I need to make sure all my current list of plugins work. I would prefer to have to hunt and peck to install plugins in the latest version. I would think there would be a file in the old installation I could just copy into the new installation and tell eclipse install all these plugins if compatible.
Thanks

If your old version is at least 3.7, then you can do this:
Use File -> Export -> Install -> Installed software items to file in your old installation to create a file containing the currently installed features.
Use File -> Import -> Install -> Software items from file in your new installation. Point it to the file from above and make sure to check "Install latest versions".

File -> Export -> Install -> Installed software items to file in your old installation to create a file containing the currently installed features.
File -> Import -> Install -> Software items from file in your new installation. Point it to the file from above and make sure to check "Install latest versions".
From your new eclipse you can also Use.
File -> Export -> Install -> Installed software from existing installation, and give it path of old eclipse installation folder it will give you options to select.

There are two main issues with copying the old plugins to a new version of Eclipse.
Which plugins to copy? A newer version of Eclipse will have newer versions of the same plugins as the old version.
Does the plugin support the newer version of Eclipse?
Generally the simplest way to get the correct plugins is to use the Eclipse tools to get the plugins from their update sites. This ensures you have the correct / latest version that works with the version of Eclipse you are now using.
You can get the list of updates sites used from the old Eclipse by selecting Windows / Preferences / "Install/Update" / Available Software Sites. Select the update sites you want to keep, then click Export... You can then import them into the new Eclipse. Just beware update sites that are Eclipse version specific!

Related

How to upgrade new version of Eclipse instead of using new downloaded package?

I am looking for steps to upgrade my current Eclipse version (Mars) to latest version (Oxygen) because I have been using Mars for past long time so that contains all the settings, plugins and all the histories so I would like to retain the same and also upgrade to new version.
Is this possible?
Note: It can be any type of Eclipse for any kind of development like Java, C/C++, PHP, JavaScript and Testers.
In Window > Preferences: Install/Update > Available Software Site make sure that the Latest Eclipse Simultaneous Release (or Latest Eclipse Release) update site exists and is checked. Otherwise (in older versions or when this update site has been removed in newer versions), click Add..., enter the update site location https://download.eclipse.org/releases/latest and click OK.
Help > Check for Updates
See also Eclipse Wiki - FAQ How do I upgrade Eclipse IDE?
This might be useful.
https://wiki.eclipse.org/FAQ_How_do_I_upgrade_Eclipse_IDE%3F
There are some package structural changes from Eclipse Neon.
I don't think updating from Update Site will update the eclipse.ini file: you need to fix it.
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20170531-1133
However, if you simply want to keep your preferences and your plugin, I suggest you to use Eclipse for that:
In Oxygen.1 (or the updated Eclipse), you can install feature/plugins
using an existing installation (go to File > Import then select *Install > From Existing Installation)
using an exported software item (go to File > Import then select *Install > Install Software Items from File)
For the second option, you need to export it first on the previous Eclipse using File > Export > Install > Installed Software Items to File.
Note: the Eclipse directory store little configuration (at least, it store the known workspaces/update site). This link here might be of interest.

How to install an older Eclipse plugin of SonarLint

Currently in the Eclipse Marketplace SonarLint is only available in the latest version (2.5.1). For a compatibility reason I need to have version (2.2.1).
How can i install an older version of my choice?
Instead of using Eclipse Marketplace, use menu in Help → Install New Software.
Add sonarlint URL:
http://eclipse.sonarlint.org/
and than uncheck "Show only the latest versions of available software".
You will see all available version of sonarlint. If you already have it installed with unexpected version, you need to uninstall it first in Help → Installation Details.
I had exactly the same issue. Here is how I managed it:
Ask Google for "sonarlint 2.1.0"
You'll find a page link to 2.1.0 - Bintray
You will be able to download a zip.
Then, this stack will help you install the zip from your disk.
Hope it helps!
The official zip files for legacy versions of SonarLint are here:
https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/
After downloading the zip file, in Eclipse:
Help -> Install New Software -> Add -> Archive -> the zip file
Edit: as pointed by user1323562 in comments the new URL is:
https://binaries.sonarsource.com/?prefix=SonarLint-for-Eclipse/releases/
The new URL to install older Sonarlint versions is
https://eclipse-uc.sonarlint.org with this one you can install the older versions from 5.9 up to 7.6

How can I upgrade the eclipse version my STS is using?

I downloaded STS 3.2.0 with Juno 3.8 a month a go. Last week it updated my STS to 3.3.0 without automatically.
I've checked that Kepler 4.3 has come out and would like to upgrade my STS installation to use that. I don't want to just install the new package from the website as I loose all my configs and such when I do that.
Can anyone help?
Edit:
Or can anyone explain to how I can copy my settings etc. to a new installation of STS?
I don't know STS. In a normal Eclipse installation, you can run Help -> Install New Software, add the Kepler update site using the "Available sites" link, close the dialog, run Help -> Check for Updates and Eclipse will update everything it can find, under the condition of not breaking dependencies.
Your settings are not lost, if you use your old workspace with your new installation (as the majority of settings has workspace scope and is stored within it). Therefore you can also try the following: Install a newly downloaded version of Kepler besides your existing Eclipse. Then in the new installation run File -> Import -> Installation -> From existing to have it automatically copy plugins from the old installation to the new one. Afterwards install whatever is missing using the installation menus described at the top or using Help -> Marketplace.
I just upgraded my STS from 3.3 to 3.5. The following method worked fine.
Open STS > Help > Check for updates > Choose the latest version and install (lists all plugins available for upgrade as well as STS).
Open STS(Spring Tools Suite)-> Help -> Check for Updates -> it will automatically updates with latest version.
Version: STS 3.8.0 requires a JDK 8 to run on top of.
STS 3.9.0 requires a JDK 8 to run on top of.
STS 3.9.4 requires a JDK8/9/10 to run on top of.
STS 3.9.6 requires a JDK8/9/10/11 to run on top of.

How to install plugins to external folder for re-use with new version of eclipse

I have a set of plugins that I always need in eclipse. I also like to keep up to date with the latest version of eclipse.
So what this means is every time I update eclipse I have to re-install all the plugins I need.
How do I install these plugins to an external folder so that they can be picked up by the new installation of eclipse?
Don't do that. Instead use File -> Export -> Install -> Software Items to file on your old installation to create a file listing your current plugins. In the second installation import the file accordingly. Make sure to check the checkbox to search for newer versions during the import.
This requires Eclipse 3.7+.

How do I manually install or force the install of a plugin in Eclipse?

How do I manually install a plugin in Eclipse? Or how do I force the installer to install a plugin, even when it doesn't want to?
E.g., I am trying to downgrade a plugin (an update for which contained a bug that I cannot work with). I have tried going to About Eclipse -> Installation Details -> Installation History and selecting a previous configuration, but I get errors trying to revert to one. I have also downloaded the all-in-one update for the previous version of the plugin I want to roll-back. But if I go to Install New Software -> Add -> Archive then I can select the update, but when I try to install it I am told that the plugin I'm trying to install "will be ignored because a newer version is already installed".
I need a way to install the plugin manually or force the installer to install the older version of the plugin. Doe anyone know how this can be achieved?
You should uninstall the current version of the plug-in before installing the older one.
go to About Eclipse -> Installation Details -> Installed Software and uninstall the plug-in you want to downgrade.
then try again installing it going toInstall New Software -> Add -> Archive...
saluti
There is some difference between each Eclipse version to locate the feature. Which version did you use ? 3.3 ?
I can't say where you will find the option but start by removing the installedv ersion and retry to install the older.
If you realy want to install it you can also try to find the archive and extract the content into your Eclipse folder (It may have two folder features and plugin).
/!\Take care about plugin dependency and compatibilty/!\ Make a backup of your installation before.
You should remove the top level plugin.
Try to reinstall it without selecting the last version of the plugin. May be you can select and older version in this step or install the expected sub-plugin version later.
Or
Find which version of "epp.package.php" use the plugin version you need. Install it. And if needed try to update some plugin/sub-plugin and check if your sub-plugin is not in the update list.