In general, the Eclipse plugin is installed in the plugins directory. However, an unrecognized problem occurs when you copy the plugin folder to the plugins directory on the system where the MyEclipse is installed. This problem occurs when installing Resourcebundleeditor, and now the same problem occurs when installing Hibernatesynchronizer.
After the verification, feel that the use of links to install the Eclipse plugin can solve the problem.
Current configuration: eclipse3.2.1,myeclipse5.1.0.
The Eclipse installation directory is e:/eclipse, the plug-in directory to be installed is e:/eclipse/my-plugins, and the Hibernatesynchronizer plugin will be installed. Hibernatesynchronizer-3.1.9.zip extracted into the HibernateSynchronizer-3.1.9 directory, this directory contains a plugins directory, the first to create a new subdirectory in the HibernateSynchronizer-3.1.9 directory And then move the plugins directory to the newly created Eclipse directory, which is the directory structure: e:/eclipse/my-plugins/hibernatesynchronizer-3.1.9/eclipse/ Plugins
Eclipse will go to the specified directory to find the Eclipse/features directory and the Eclipse/plugins directory to see if there are legitimate features and/or plugins. In other words, the destination directory must contain a/eclipse directory. If found, additional features and plugins are available at run time, and if the linked files are added after the workspace is created, additional features and plugins are handled as new configuration changes.
Then create a subdirectory in the Eclipse installation directory E:/eclipse links, create a link file in the links directory, Synchronizer.link, and change the file content to: path=e://eclipse// my-plugins//hibernatesynchronizer-3.1.9, that is, the link file to correspond to a newly unpacked plug-in directory.
Description:
1. Plugins can be installed in multiple custom directories.
2. One custom directory can install multiple plugins.
3. The name and extension of the link file can be any name, such as Ddd.txt,myplugin.
4. The path path of the Path= plugin directory in the link file is separated by//or
5. There can also be multiple link files in the links directory, and the path parameter in each link file will take effect.
6. The plug-in directory can use relative paths.
7. You can set up a subdirectory in the links directory, transfer temporarily unused plugins to this subdirectory, and speed up eclipse startup.
8. If the plugin is not visible after installation, remove the configuration directory from the Eclipse directory and reboot.