Accepted answer

sharing eclipse specific settings across workspaces:

  1. go to ${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings
  2. copy everything under the above directory to ${new_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings

this is going to make sure that the ${new_workspace} is having the same configuration as the ${old_workspace}

hope this helps. update in case of any issues.


i had the same problem.

my approach: storing project data in a directory managed by owncloud

the project x is created at workstation a, with a custom path pointing to a new sub directory of my owncloud hierarchy. the default workspace is still residenting on the file system of a.

when i'm sitting at workstation b i open the default local workspace (local on b) and create a new project using the existing sources in the "synchronized" owncloud directory.

just click refresh any time you fire up eclipse and you have the current project data. synchronisation runs in the background automagically, so take care when you have finished working to close eclipse and give owncloud a chance for uploading the new files to the owncloud server.

tomcat or other servers are running local, the config is copied manually between the machines via scp. this happens only if there are changes in the server setup, which is not very often.

i had no compatibility problems using neon 2 (arch linux) & neon 3 (download an running on debian stretch) with different jdk's yet.

best regards armin


simply copy the directories


from an existing project to the new one.

that worked well within (rather simple) php projects.


you can use eclipstyle to clone preferences of one workspace to your other workspaces. you can also export your preferences and clone them later.


there are two questions here. first, there are project definitions, the .project files and project specific settings. personally, i like those in my source control, as it makes checking out a project and setting up an ide much easier.

second, you have the workspace settings. you will see a lot of questions in this area. i suggest taking a look at pulse: it is an enhanced eclipse distribution that can, among other things, save your workspace settings and sync them with multiple machines or team members.


you can also copy the .prefs files from ${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings to a folder called .settings in the root folder of your project and then add it to svn (or cvs or ...)

that way the settings will get distributed to all developers along with the source code during an update.


you can actually set many project specific settings that can be checked into source control. for small projects, this works really well. for larger projects, we decided to have a single file that we used for all of our projects and checked into a separate "assets" project that maintained things that developers needed to get started working on our project. this also included things like licenses and other required files.


as of eclipse neon (and possibly mars, as well), you can copy the following two directories, to share your workbench and settings/preferences amongst your different workspaces:



i had to work on multiple workspaces simultaneously and there were a lot of preferences to be set each time i create a new workspace. i created a template workspace and created all the the required settings in that template workspace.whenever i create a new workspace, i create a simlink of the {new_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings to point to {template_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings. so, when you edit any preference in any of the workspaces, it will be replicated across all other workspaces.

i created this function alias in my .profile so that once i create a new workspace, i run this function in my command prompt with my new workspace name as argument so that the link is created.

function eclset(){
    cd  {parent_to_workspace}/$1/.metadata/.plugins/org.eclipse.core.runtime ; 
    rm -rf .settings ; 
    ln -s {parent_to_workspace}/template/.metadata/.plugins/org.eclipse.core.runtime/.settings .settings;
    cd $present_dir;


it's a relatively new project, but it looks like eclipse oomph was created for exactly this reason. through this tool you can create a unique configuration that can be shared with others. i have not used it (yet), but am planning to:


another option is export/import:

  1. from your existing workspace, file->export...->general->preferences, check export all, and choose file to save them to (prefs.epf for example)
  2. startup eclipse in a new workspace, file->import...->general->preferences , choose your file (prefs.epf), check import all

that worked great for the original author of this tip: he had his code formatting, code style, svn repos, jres preferences imported.

edit: on eclipse juno this works poorly. some preferences silently do not carry over such as save actions.

Related Query

More Query from same tag