Yesterday upgraded eclipse from Indigo (3.7) to Juno (4.2). Start Eclipse and discover that the Android and Maven plugins that were installed in the past are missing.
$ ls. eclipse/
org.eclipse.platform_3.7.0_1543616141 org.eclipse.platform_4.2.0_1543616141
Originally each version has a directory, 4.2 of the directory does not have plugins and features directory.
In the end, I used a more violent approach, which was to copy the plugins and features directories under the 3.7 directory to the 4.2 directory. Restart Eclipse and do not see that the plugin is enabled.
The link method learned from the web is then used:
1. Build a local directory of your own eclipse plugins, such as mine, ~/pkg/eclipse-plugins.
2. I'm going to try this approach with Maven first, so I'll build the Maven directory in the above directory. mkdir ~/pkg/eclipse-plugins/maven
3. In the Maven directory, be sure to create an Eclipse directory to hold features and plugins about Maven. The current directory is ~/pkg/eclipse-plugins/maven/eclipse.
4. Copy the features and plugins directories about Maven to ~/pkg/eclipse-plugins/maven/eclipse.
5. Set up the links directory under ~/.eclipse/org.eclipse.platform4.2.01543616141/and establish Maven.link in the links directory. The content of Maven.link is Path=/home/wuchen/pkg/eclipse-plugins/maven.
It's said that restarting eclipse should enable the Maven plugin, but it doesn't work here.
Then, I found a very elegant method under the www.stackoverflow.com:
1. Start Eclipse.
2. Menu File = import ... + = Install + from existing installation, click OK, the dialog will pop up, browse to select ~/.eclipse under the 3.7 directory, will list all Installed on 3.7 plug-ins that can be imported.
3. Select the plug-in you want to import, click Finish, you can.
4. After the import is complete, restart Eclipse as prompted to succeed.
I think this is the right path.
date:2013-05-25 17:18:13 CST
Author:jiqing Wu
ORG version 7.8.11 with Emacs version 24
How to import plug-ins after eclipse upgrade