• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Export Eclipse settings

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic