Eclipse Tip: Sharing Java project settings



The Eclipse 3.1 has a new feature. Now the Java project settings like Compiler and Code Style can be shared with the entire team using the version control tool.


To do this right click the project in Package Explorer or Navigator view and got to either Java Code Style or Java Compiler options. Check the Enable project specific settings.


This will create a .settings folder in the project root. Eclipse will add and maintain the project specific configuration in this folder. Commit this folder to the version control. Thats it. Now the project settings are shared with the team. When the other team members synchronize with the repository they will get the project settings too. Any team member can update and check in the settings. Cool!

Vasanth Dharmaraj is a Java Architect currently working for Western Union living in the Bay Area. He is interested in programming, gadgets, formula one... You can follow him on Twitter.

Posted in Eclipse, Java
2 comments on “Eclipse Tip: Sharing Java project settings
  1. Yves Harms says:

    Is it possible to share the workspace setting in a similar way ? When working with large numbers of plugin projects global changes would be tedious this way.

  2. Vasanth says:

    I am not sure if that is possible. But I will find out.

Ads By Google