Four ways to install the Eclipse plugin

Source: Internet
Author: User

Four ways to install the Eclipse pluginHow to install the Eclipse plugin

1, in the ECLIPSE home directory (eclipse_home, such as the directory installed on my machine is: D:\eclipse) has a plugins directory, this method of plug-in installation is very simple, as long as the plugin copy to this directory can be. For example, I have a weblogic plug-in (can be downloaded on the BEA site), extracted to get a directory: "com.bea.eclipse.weblogic_1.1.1", I will put this directory directly to%eclipse_home%\ Plugins directory, after you restart Eclipse, you will see the menu run-> "Start Weblogic". After installation, the full path of the WebLogic plugin is: D:\eclipse\plugins\com.bea.eclipse.weblogic_1.1.1]

2. Create a links directory under the ECLIPSE directory (eclipse_home), then place your own plugin anywhere you want, this time you put the plugin directory I call her plugin directory (plugin_home), and then in your%eclipse_home Create a link file under the%\links\ directory, such as I want to install a VSS plugin, I created the: Vss_1.6.1.link file in my links directory. And this Vss_1.6.1.link file is pointing to my plugin directory (Plugin_home, for example, the plugin directory on my machine is D:\eclipse\plugins_new). The content of the Vss_1.6.1.link file is:

path=d:\\javadev\\plugins\\vssplugin_1.6.1

The second way to install the plug-in is to note that if you are a separate jar file, it is a good idea to create such a level directory under the directory specified by the link file: eclipse\plugins\xxx.xxx (Plug-in name and version number), and then place the jar file in this directory. For example, the VSS plugin directory on my machine is D:\eclipse\plugins_new\vssplugin_1.6.1\eclipse\plugins\org.vssplugin_ 1.6.1, there is a file: Vssplugin.jar

After the plug-in installation of both methods, you need to restart Eclipse to see the plugin. If a plug-in is already installed and you want to reinstall it, simply replace the file or modify the link file's path. If you find that the plugin is not recognized, your plugin may not support your current version of Eclipse, please check. It may also be caused by the system configuration, I have appeared once, my solution is to eclipse_home under the configuration directory of all the files, the remaining config.ini files.



The second extension method (useful): The Eclipse plug-in uses the links directory usage

Assuming that the plugin is installed in the D:\myplugin directory, the directory structure of the Myplugin must be this:
D:\\myplugin\\eclipse\\plugins\\ plug-ins and d:\\myplugin\\eclipse\\features\\ plugins
For example, to install the Eclipseme plugin into 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, which is path=d:\\ Myplugin.
Launch Eclipse, plug-in is installed, if you want to temporarily do not start the plug-in, just remove the Myplugin.link file.

Additional notes:
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 Myplugin.txt,goodplugin.
4. The link file can have multiple lines of path= plug-in directory, corresponding to multiple custom plug-in directories, each line of the path parameter 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 plugin directory can use relative paths if we create the Myplugin directory in the Eclipse installation directory, as in the previous example

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

The third method of: Select Help->software updates->manager Configuration and select Add an Existing location to locate the plug-in you want to install.

Note: The method thinking originates from:
http://blog.csdn.net/bear110/archive/2006/07/04/873667.aspx
Method three comes from:
http://blog.csdn.net/thebigforest/archive/2007/09/16/1787303.aspx
The fourth method:
Select Help->software Updates->find and Install,
Then select search for new features to install after point next,
Choose New Remote Site ...
Enter the plugin name and update URL, which can be found on the web. As an example:
Install Maven: In the New Update Site dialog box, enter
Name:maven
URL: http://m2eclipse.codehaus.org/update/
Click Ok->finish, after the update to choose Plug-in installation, and finally even completed.

Four ways to install the Eclipse plugin

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.