Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Backup Eclipse plugins and settings

I'm using Eclipse and have plenty of plugins installed and configured to my needs. Is there any good way to backup these plugins and the configuration of them. I want to be able to replay these plugins in futures eclipse version (as long as they are compatible) and on different PCs.

I know I could simply archive the whole eclipse/ folder, but I find this a little inelegant.

like image 473
Martin Thurau Avatar asked Dec 31 '10 12:12

Martin Thurau


People also ask

Where are Eclipse plugins stored?

As far as I know, Eclipse stores its plugins in its installation directory ( eclipse ). They might reside in eclipse/plugins or eclipse/dropins . You can copy the whole eclipse directory from your old box.


1 Answers

There are two parts to your question:

  1. Copying your settings between Eclipse installs
  2. Copying your installed plugins between Eclipse installs

#1 is easy to do. You can export your Eclipse preferences from the File -> Export... -> Preferences. The resulting file contains all of your preferences for each installed plugin. It is portable between Eclipse installs and versions.

#2 is not really the "Eclipse" way of doing things. It is possible, but you need to structure your installed plugins differently. Rather than using the standard update manager to install your plugins, you can use the dropins folder. What you need to do is to copy every feature and plugin that you want to be shared across multiple installs into a zip file with the following structure:

eclipse/     features/     plugins/ 

Then you can unzip the file into the dropins folder of all the Eclipses that you want.

More information on dropins: http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/p2_dropins_format.html

like image 110
Andrew Eisenberg Avatar answered Oct 02 '22 17:10

Andrew Eisenberg