有没有办法升级 eclipse 并保留所有已安装的插件?
我发现每次升级eclipse都重新安装所有插件很繁琐.
I found it tedious to reinstall all the plugin every time upgrade the eclipse.
推荐答案
这是迄今为止我找到的最佳选择.Dropins 目录可以工作,但维护起来很麻烦,因为 Eclipse 想要在 Eclipse 目录中安装新插件.
This is the best option I've found so far. Dropins directories work, but they're a pain to maintain, because Eclipse wants to install new plug-ins in the Eclipse directory.
我.转移您的更新站点列表:
- 最后一次运行旧的 Eclipse
- 转到
Window->Preferences->Install/Update->Available Software Sites
- 选择所有更新站点(点击一个,然后Ctrl-A),点击
Export
,将文件保存到某处 - 运行您的新 Eclipse,选择您的工作区
- 转到
Window->Preferences->Install/Update->Available Software Sites
- 点击
导入
,选择步骤3中的文件
- Run your old Eclipse one last time
- Go to
Window->Preferences->Install/Update->Available Software Sites
- Select all update sites (click on one, then Ctrl-A), click
Export
, save the file somewhere - Run your new Eclipse, select your workspace
- Go to
Window->Preferences->Install/Update->Available Software Sites
- Click
Import
, choose the file from step 3
二.复制旧的插件:
- 在新的Eclipse中,选择
File->Import->Install->From Existing Installation
- 选择您的旧 eclipse 目录,例如
~/apps/eclipse-jee-indigo-SR1-linux-gtk-x86_64/eclipse/
- 选择你要安装的插件/功能,点击
Finish
- 完成后,您可以归档/删除旧的 Eclipse 目录
相关文章