How to share Eclipse configuration over different workspaces
Another option is export/import:
- From your existing workspace,
File->Export...->General->Preferences
, check Export all, and choose file to save them to (prefs.epf for example) - 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.
Sharing eclipse specific settings across workspaces:
- Go to
${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings
- 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.