Eclipse plug-in Installation Method and instructions for use, eclipse plug-in Installation Method
Copy Installation Method
1. Install using ECLIPSE_HOME \ plugins
In the main directory ECLIPSE_HOME of eclipse, for example, the directory installed on my machine is: ECLIPSE_HOME has a directory of plugins, which is very simple to install plug-ins, just 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 to get 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 ECLIPSE_HOME \ plugins \ com. bea. eclipse. weblogic_1.1.1.
Or if the plug-in is a separate jar file, directly copy the jar file to ECLIPSE_HOME \ plugins to install it.
2. Install using ECLIPSE_HOME \ dropins
1. the simplest way is to directly put the jar package in the dropins Directory: eclipse/dropins/com. esw.bre. eclipse. i18n. resourcebundle_0.7.7.jar 2. the traditional format is put in the same eclipse Directory: eclipse/dropins/eclipse/features/plugins/3. by plug-in name: eclipse/dropins/resourcebundleeditor/features/plugins/m2eclipse/features/plugins/
For example, to install the SVN plug-in, create a folder named mysvn under dropins and place features and plugins under mysvn. Note that do not use any other XML files.
If the plug-in is a separate jar file, first create a plugins folder, put the jar file into it, then create an eclipse folder, and put plugins into it.
Finally, for example, if you download a plug-in named WBPro, you need to create a WBPro folder and put the eclipse folder in it. (You do not have to name it WBPro. You can use other names, such as AAA and bb. Note: Do not read this sentence first ). Well, the plug-in structure is outlined as follows:
WBPro/eclipse/plugins/**.jar
Links Installation Method
1. links
Create a links directory under the eclipse directory (ECLIPSE_HOME), and put your plug-in wherever you want to put it, 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: \ 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 best 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: \ eclipse \ otherplugins \ vssplugin_1.6.1 \ eclipse \ plugins \ org. vssplugin_1.6.1, there is a file: vssplugin. jar
How to Use the links directory for Eclipse plug-ins
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 relative path can be used for the plug-in directory. If we create the myplugin directory in the eclipse installation directory, In the above example, d: \ eclipse directory, we only need to set path = 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.
2. dropins
Add links in a similar way as links:
eclipse/ dropins/ sysdeo.link
The content is as follows:
path=/home/danson/personal-data/software/ide/eclipse-plugins/sysdeo
The sysdeo directory is structured as eclipse/plugins/com. sysdeo. eclipse. atat_3.2.1.
Update Installation Method
1. Select Help-> Software Updates-> Manager Configuration, select Add an Existing Location, and find the plug-in to be installed.
2. Select Help-> Software Updates-> Find and Install, select Search for new features to install, click next, and select New Remote Site...
Enter the plug-in name and the update URL, which can be found online. For 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 select plug-in installation, and finally it is completed.
Plugin Management
Start eclipse and choose Help> Software Updates> Manage Configuration... To enable or disable the plug-in.
Other supplements
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 rse.txt and myplugin.
4. In the link file, path = the path of the plug-in directory must be \ or/
5. The link file can have multiple rows of path = plug-in Directory, which corresponds to multiple custom plug-in directories. The path parameter for each row
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 to transfer unused plug-ins to this subdirectory to accelerate eclipse startup.
9. If no plug-in is visible after installation, delete the configuration/org. eclipse. update/directory in 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