How to install Eclipse plugin and how to use it

Source: Internet
Author: User

Copy installation method

1. Installation via Eclipse_home\plugins

In ECLIPSE's home directory eclipse_home, such as the directory installed on my machine is: Eclipse_home has a plugins directory, this method of plug-in installation is very simple, just copy the plugin to this directory.

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: eclipse_home\plugins\com.bea.eclipse.weblogic_1.1.1

Or if the plug-in is a separate jar file, copy the jar directly to the eclipse_home\plugins, and you can install it.

2. Installation via Eclipse_home\dropins

1. Simplest, put the jar package directly into the Dropins directory:     eclipse/            dropins/                 Com.essiembre.eclipse.i18n.resourcebundle_0.7.7.jar 2. Traditional format, unified into an Eclipse directory:       eclipse/            dropins/                 eclipse/                      features/                      plugins/3. Differentiate by plug-in name:     eclipse/           dropins/                resourcebundleeditor/                     features/                     plugins/                               m2eclipse/                     features/                     plugins/

For example, installing the SVN plugin, is to create a folder under Dropins mysvn, and then put features and plugins into the MYSVN on the line, note that the rest of the XML file does not.

If the plugin is a separate jar file, build a plugins folder, put the jar file in it, build an Eclipse folder, and put the plugins into it.
Finally, for example: if you download a plugin named Wbpro, you need to build a Wbpro folder and put the Eclipse folder in it. (Do not necessarily have to be named Wbpro, you can use other names, such as AAA,BB, note: This sentence can not see first). Well, the general structure of the plugin came out, as follows

Links Installation Method

1.links

Create a links directory under the ECLIPSE directory (eclipse_home) and put 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\otherplugins). The content of the Vss_1.6.1.link file is:

path=d:\\eclipse\\otherplugins\\vssplugin_1.6.1

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 on my machine directory is D:\eclipse \otherplugins\vssplugin_1.6.1\eclipse\plugins\org.vssplugin_1.6.1, there is a text Pieces: Vssplugin.jar

Use of the links directory by the Eclipse plug-in

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 plug-in directory can use a relative path, if we create the Myplugin directory in the Eclipse installation directory, as in the above example in the D:\eclipse directory, you only need to set path=myplugin.

Launch Eclipse, plug-in is installed, if you want to temporarily do not start the plug-in, just remove the Myplugin.link file.

2.dropins

To add a link like links:

    eclipse/          dropins/               

The contents are as follows:

Path=/home/danson/personal-data/software/ide/eclipse-plugins/sysdeo

Where the Sysdeo directory structure is eclipse/plugins/com.sysdeo.eclipse.tomcat_3.2.1.

Update Installation method

1. Select Help->software Updates->manager Configuration and select Add an Existing location to locate the plug-in you want to install.

2. Select Help->software updates->find and install, then select Search for new features to install after click Next, select 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.

Plug-in Management

Start Eclipse, in the menu Help->software updates->manage Configuration ... , enable or disable the plugin.

Other supplements

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 Rse.txt,myplugin.
4. The path path of the Path= plugin directory in the link file is separated by \ \ or/
5. 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
The number will take effect.
6. There can also be multiple link files in the links directory, and the path parameter in each link file will take effect.
7. The plug-in directory can use relative paths.
8. You can set up a subdirectory in the links directory, transfer temporarily unused plugins to this subdirectory, and speed up eclipse startup.
9. If the plugin is not visible after installation, remove the configuration/org.eclipse.update/directory from the Eclipse installation directory and restart Eclipse.

Reference http://lovemitter.blog.163.com/blog/static/165798134201192024138476/

Http://www.blogjava.net/javajoyo/archive/2008/10/20/235495.html

How to install Eclipse plugin and how to use it

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.