Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Export Eclipse settings

 
Holger Herrmann
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

is there a way to export all eclipse settings (also those who are made for a specific workspace), so that it can be imported elsewhere?

The thing is: Several persons develop for the same project which consists of about 20 eclipse-projects. If each developer has to checkout all projects from svn and make all the settings in eclipse (e.g. line numbers, importing code formatter template, text size...), much time is wasted for several persons doing the same thing.
Could be one possibility to zip the eclipse directory AND the workspace directory and just copy it to another PC?

Best,
Holger
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse does have a File-Export-Preferences menu. However I am not sure you can export all settings at one go.
Since Eclipse is typically used as an unzipped directory, another possible option would be to have one master setup all configured. All team members would just pick and use this directory. You can also probably try copy pasting the eclipse/settings folder (not sure about this though)

I will move your question over to the IDE forums where others might have better ideas
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would be overjoyed if there was a "master export/import" for settings, but, alas, so far it seems to be a per-plugin thing. And there's not even a 100% standard way that plugins do it.
 
Will Myers
Ranch Hand
Posts: 381
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the easiest way is to just check in the Eclipse directory into svn or similar and the developers can just check it out and they should be all set up
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will Myers wrote:the easiest way is to just check in the Eclipse directory into svn or similar and the developers can just check it out and they should be all set up


Unfortunately, that doesn't help when you're installing a new version of Eclipse and would like to pull in settings from an older version.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I do is change the project properties such that the settings I care about are specific to the project. For example, in the project properties dialog, under the Java Code Style | Formatter section I have the "Enable project specific setting" box checked. That way those settings are kept in the .settings folder of the project, which I check into Subversion. Not exactly ideal because if you want to change something, you have to change it in every project, but I have found this is the best way to enforce things such as source code formatting.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic