开发者

How can I clone an Eclipse installation between computers?

开发者 https://www.devze.com 2023-04-05 23:04 出处:网络
How can I clone all of my Eclipse settings (pref开发者_高级运维erences, plugins, etc) from one computer to another?IIRC, Eclipse installs into a folder as opposed to all over the place like most Windo

How can I clone all of my Eclipse settings (pref开发者_高级运维erences, plugins, etc) from one computer to another?


IIRC, Eclipse installs into a folder as opposed to all over the place like most Windows apps. Have you tried just copying the entire folder?


They are stored in the .metadata directory in your designated workspace directory. So you can copy that over, although some settings may not work right away as they contain absolute paths.

If you are referring to the plugins themselves, just copy the eclipse_dir/plugins folder


Eclipse has an import/export facility for general workspace Preferences:

File > Export > Preferences

Choose "Export All" and then provide a destination path and filename for your preference file (Eclipse will automatically add a .epf extension).

In a new (or existing) installation of Eclipse import the .epf file

File > Import > Preferences

Project specific settings, if you enabled (and configured these), are stored in the subfolders .classpath, .project and .settings inside the project folder. Assuming you preserve your project folders for use by the new Eclipse installation, your project-specific settings will remain safe.

Eclipse projects are also imported/exported via Eclipse file menu:

File > Import > File System

see this post regarding the way Eclipse uses the workspace .metadata directory

0

精彩评论

暂无评论...
验证码 换一张
取 消