File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Export Eclipse settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Export Eclipse settings" Watch "Export Eclipse settings" New topic
Author

Export Eclipse settings

Holger Herrmann
Greenhorn

Joined: Aug 01, 2013
Posts: 4
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

Joined: Jul 26, 2007
Posts: 10360
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16058
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 326

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

Joined: Jun 25, 2001
Posts: 16058
    
  21

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

Joined: May 14, 2008
Posts: 5827
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Export Eclipse settings