How to install the Eclipse plugin

Source: Internet
Author: User

There are three ways to install the Eclipse plugin:
The first: direct copy: Assuming that your eclipse is in (C:\eclipse), unzip the eclipse plugin you downloaded or install the Eclipse plugin into the specified directory AA (C:\AA) folder, open the AA folder, In the AA folder contains two folders features and plugins, and then the files in two folders are copied to the corresponding folder under Eclipse features and plugins, the general plug-in files directly copied To the Eclipse directory is the most direct and most stupid way! Because it will be very difficult to remove these plugins in the future! Not recommended for strong columns!!

Note: After extracting the plug-in package directly under the Plugins folder, restarting Eclipse may not load the new plugin.

The workaround is to:
1. Open the command line to the current Eclipse directory, enter Eclipse-clean, and restart Eclipse, so eclipse will add a new plugin.

2, if the plug-in can not be upgraded, then please delete the Eclipse\configuration\org.eclipse.update directory before starting eclipse:)

You can see the newly installed plugins in the Eclipse menu "Help" and "About Eclipse SDK"--"Feature details" and "plug-in details".

The second (I'm using this method):

The downloaded plugins may have these kinds of forms:

One is a separate jar file, two are plugins and features two folders, and three is a separate Eclipse folder.

Links Installation Method: (strong push)
1, getting ready for work
If the plugin is a separate jar file, then you need to do three things,
First build a plugins folder, put the jar file into 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
Put the Eclipse folder in it just now. (not necessarily 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
Wbpro/eclipse/plugins/**.jar

If the plug-in is plugins and features two folders (or only plugins folders),
Please build a folder called Eclipse, put the above two folders in it,
Build a folder named Wbpro and put the Eclipse folder in it, the general structure of the plugin
Under: Wbpro/eclipse/{plugins,features} If the plugin is an Eclipse folder, create a new
A Wbpro folder where Eclipse is placed, the structure of the plugin is as follows: Wbpro/eclipse

2, start the installation
Find your eclipse, under which two folders are built, one is Extplugins, the other is links, structures such as
Under {eclipse/extplugins,links},
Put the plugin Wbpro you just built into Extplugins,
Then, under the Links folder, create a txt text that is written in: Path=extplugins/wbpro, note
meaning "/" instead of "\", then name the text file Wbpro.link, note that the full name is Wbpro.link,
Rather than WBPro.link.txt,
OK, start eclipse, click Window->preferences in the menu bar, and in the pop-up dialog, look left.

Side of the navigation bar, if there is your plug-in name, such as Wbpro, congratulations on your plugin installation success!

The third type:
Plugin installation method using Eclipse's own graphical interface: Select Help > Software Updates > Manager Configuration
Select Add > Extension location to find the directory where you want to install the plugin.
If you use the 3rd method, you must have files in the Eclipse directory. Eclipseextension, if you do not have this file under the plugin,
That's right. The file under the Eclipse installation directory is on the past! Only have such a file on it, the content is useless, mainly some version information! For example:
Id=org.eclipse.platform Name=eclipse Platform
version=3.1.1

—————————————— plug-in management ————————————————————
Start Eclipse, in the menu Help->software updates->manage Configuration ... Under, enable or

The plugin is disabled by the user.
Third, other additions:
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 create a subdirectory in the links directory, transfer temporarily unused plugins to this subdirectory, and speed up
Eclipse startup.
9. If you do not see the plugin after installation, the Eclipse installation directory
The configuration/org.eclipse.update/directory is removed and the eclipse is restarted.

Article from: http://blog.csdn.net/zouxiangwei/article/details/6711925

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.