How to share Eclipse project settings between projects?
<p>What is the best way to share project specific settings between multiple Eclipse projects?</p>

<p>I'm working with an application that is divided into several Eclipse projects. All of the Eclipse projects should use the same compiler settings. I could duplicate the settings in all the projects, but I'm looking for a way to avoid that.</p>

<hr>

<p>The relevant settings are the ones that are saved in <code>&lt;PROJECT_LOC&gt;/.settings</code>, most importantly <code>org.eclipse.jdt.core.prefs</code> but also for example <code>org.eclipse.jdt.ui.prefs</code>. They are the ones that are set in <em>Project Properties</em> > <em>Java Compiler</em>, <em>Java Code Style</em> (and a few more places).</p>

<p>The solution must be version control friendly.</p>

<hr>

<p>One possible solution use a linked resource, from <code>org.eclipse.jdt.core.prefs</code> or <code>.settings</code> of the projects to the same file, located in one of the projects. A similar solutions is to use soft file system links. I don't really like these solutions, it seems to me that they are hard to maintain, for example if the name of a project is changed.</p>

<hr>

<p>I found this question which is different because it asks about sharing settings between developers, not between projects. (I must do both.)</p>

<p><a href="https://stackoverflow.com/questions/8310748/how-to-share-eclipse-project-preferences">How to share Eclipse project preferences between users?</a></p>