Install plug-ins in eclipse)

Source: Internet
Author: User
1. There is a directory of plugins in the main directory of eclipse (eclipse_home, for example, the directory installed on my machine is D:/javadev/3.2, the plug-in installation in this method is very simple. You only need to copy the plug-in to this directory. For example, if I have a WebLogic plug-in (which can be downloaded on the BEA site), decompress the plug-in and get it to a directory: [COM. bea. eclipse. weblogic_1.1.1], I will put this directory directly under the % eclipse_home %/Plugins directory. After restarting eclipse, I will see the "run->" Start WebLogic "menu. After the Weblogic plug-in is installed, the full path is: D:/javadev/3.2/plugins/COM. Bea. Eclipse. weblogic_1.1.1]

2. Create a links directory under the eclipse directory (eclipse_home), and place your plug-ins wherever you want, at this time, you put the plug-in directory and I called it the plug-in directory (plugin_home), and then create a link file under your % eclipse_home %/links/directory, for example, if I want to install a VSS plug-in, I created the: vss_1.6.1.link file in my links directory. The vss_1.6.1.link file points to the plug-in directory (plugin_home, for example, the plug-in directory on my machine is D:/javadev/plugins ). The content of the vss_1.6.1.link file is:

Path = D: // javadev // plugins // vssplugin_1.6.1

When installing the plug-in, note that if you are using a separate JAR file, you are advised to create such a directory under the directory specified by the link file: Eclipse/plugins/xxx. XXX (plug-in name and version number), and then put the JAR file in this directory. For example, if the directory of the VSS plug-in on my machine is D:/javadev/plugins/vssplugin_1.6.1/Eclipse/plugins/org. vssplugin_1.6.1, there is a file: vssplugin. jar.

After installing the plug-in, you need to restart eclipse to see the plug-in. If a plug-in has been installed and you want to reinstall it, you only need to replace the file or modify the link file path. If you cannot recognize the plug-in, it may be that your plug-in does not support your current eclipse version. Please check. It may also be caused by system configuration. Once I appeared, my solution was to delete all the files in the configuration directory under eclipse_home, with the remaining config. ini files.

The second extension method (relatively easy to use): Eclipse plug-in uses the links directory

Assume that the plug-in is installed in the D:/myplugin directory, the directory structure of myplugin must be as follows:
D: // myplugin // eclipse // plugins // plug-in and D: // myplugin // eclipse // features // plug-in
For example, if the eclipseme plug-in is installed in the D:/myplugin directory, the directory structure

D: // myplugin // eclipse // plugins // eclipseme_0.4.5.
Assuming that eclipse is installed in the D:/eclipse directory, create a directory named links in the eclipse directory and create a link file in the links directory, such as myplugin. link. The file content is Path = D: // myplugin.
When eclipse is started, the plug-in is installed. If you want to temporarily disable the plug-in, you only need to delete the myplugin. Link file.

Note:
1. Plug-ins can be installed in multiple custom directories.
2. Multiple plug-ins can be installed in a custom directory.
3. The file name and extension name of The Link file can be any name, such as myplugin.txt and goodplugin.
4. The link file can have multiple lines of Path = plug-in Directory, which corresponds to multiple custom plug-in directories. The path parameter of each line will take effect.
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. If we create the myplugin directory in the eclipse installation directory

D:/eclipse directory, you only need to set Path = myplugin.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.