Adam Gent
Adam Gent

Reputation: 49075

Backup Eclipse settings

I have had to re/install Eclipse across different platforms (windows and linux) several times this year.

I have not found an effective single solution way to share settings/preferences across different versions of Eclipse.

This is what I currently do:

Surely there is an easier way?

Upvotes: 27

Views: 24445

Answers (3)

VonC
VonC

Reputation: 1323115

Did you try File > Export > General > Preferences?

export

Most (not all, but most) of the preferences you reference in your question will be exported in an xml file.
That include templates and formatters.
Even though it is true its content isn't fully interpreted across Eclipse versions, it simply concatenates the separate exports you mentions in your question.

Other tips in "Importing/Exporting Project Preferences".

Upvotes: 15

Daniel Sokolowski
Daniel Sokolowski

Reputation: 12448

If you are ok with storing things in the cloud I suggest you try the backup and share your Eclipse plugin called 'Kick your Eclipse to the Cloud Plug-in'.

You Tube Video

Market Place Plugin

Upvotes: 1

javamonkey79
javamonkey79

Reputation: 17755

We use the concept of a baseline for new dev's but I think you can apply the same technique. Basically, what you need to do is this:

  1. Get a new copy of Ecipse and set it up how you like with no projects.
  2. Take a copy both the Eclipse install directory and the workspace - zip them up and store them somewhere
  3. Remove the workspace link in Window -> Preferences -> Workspaces
  4. When you need a new version, copy the template version down and voila!

Hope this helps.

Upvotes: 10

Related Questions