Is there a way to upgrade eclipse and keep all the installed plugins?

前端 未结 4 1825
甜味超标
甜味超标 2021-01-30 12:55

I found it tedious to reinstall all the plugin every time upgrade the eclipse.

4条回答
  •  情歌与酒
    2021-01-30 13:35

    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.

    I. To transfer your list of update sites:

    1. Run your old Eclipse one last time
    2. Go to Window->Preferences->Install/Update->Available Software Sites
    3. Select all update sites (click on one, then Ctrl-A), click Export, save the file somewhere
    4. Run your new Eclipse, select your workspace
    5. Go to Window->Preferences->Install/Update->Available Software Sites
    6. Click Import, choose the file from step 3

    II. To copy across your old plug-ins:

    1. In the new Eclipse, select File->Import->Install->From Existing Installation
    2. Select your old eclipse directory, eg ~/apps/eclipse-jee-indigo-SR1-linux-gtk-x86_64/eclipse/
    3. Select the plug-ins/features you want to install, click Finish
    4. When it finishes, you can archive/delete your old Eclipse directory

提交回复
热议问题