Eclipse plug-in installation methods and plug-in load failure solutions

Source: Internet
Author: User

Eclipse Plug-in installation methods and plug-in load failure solutions

One: Use Eclipse Software Update to add URLs that allow Eclipse to automate the search to download the latest plug-ins.

For example, install ve this visual editing UI plug-in, the steps are

Help > Software Updates > Available Software
Add Site ... > Add the VE 1.4 Update site:http://update.soyatec.org/ganymede/ve/1.4

Second: Download the plugin, extract the appropriate files to the Eclipse installation directory under the appropriate folder

Unzip the download plugin to get plugins and features two folders copy to the Eclpise plugins and Features folder. Restart Eclipse, if the plug-in does not work, please eclipse/configuration/org.eclipse.update the directory and then start eclipse:)


Three: LINK file way:

Eclipse's self-contained plug-ins are installed in the plugins directory. However, when many plug-ins are installed, Eclipse becomes very large, and the main thing is that it is not easy to update and manage many plug-ins, and Eclipse starts slowly. Installing the Eclipse plug-in with links solves this problem and allows you to flex the plug-in's load freely.
  
Current configuration XP sp2,eclipse3.4.1
  
Now let's assume that my Eclipse installation directory is d:/eclipse, and the plugin directory to install is d:/plug-in, and I'm going to install Languagepackfeature (language Pack), EMF-SDO-XSD-SDK, GEF-SDK, Lomboz these four plug-ins.
  
First of all the four plug-ins are placed in the d:/plug-in directory, respectively decompression. such as Lomboz3.0.1.zip uncompressed into the Lomboz3.0.1 directory, this directory contains a plugins directory, first in the Lomboz3.0.1 directory to create a new subdirectory eclipse, and then move the plugins directory to the newly built eclipse Directory structure that is the case: D:/plug-in/lomboz3.0.1/eclipse/plugins
  
Eclipse will go to the specified directory to find the Eclipse/features directory and the Eclipse/plugins directory to see if there are any legitimate features and/or plug-ins. In other words, the target directory must contain a/eclipse directory. If found, additional features and Plug-ins will be available during runtime configuration, and if the linked files are added after the workspace is created, additional features and plug-ins will be processed as new configuration changes.
  
If you have already included the Eclipse/plugins directory after extracting other compressed files, you do not need to create an Eclipse directory.
  
Then create a subdirectory links in the Eclipse installation directory D:/eclipse directory, create a link file in the links directory, such as Languagepackfeature.link, and change the file contents to path=d:/plug-in/ Languagepackfeature that this link file should correspond to a newly unpacked directory of Plug-ins.

Description
  
1. Plug-ins can be installed separately in multiple custom directories.
  
2. A custom directory can install multiple plug-ins.
  
3. The filename and extension of the link file can take any name, such as Ddd.txt,myplugin.
  
4. The path path of the Path= plug-in directory in the link file is delimited by//
  
5. You can also have 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.
  
7. You can create a subdirectory in the links directory, transfer temporarily unused plug-ins to this subdirectory, and speed Eclipse startup.
  
8. If the plugin is not visible after installation, remove the configuration directory under the Eclipse directory and reboot.

Sometimes starting eclipse does not load plug-ins, there are many solutions:
  
A, delete the entire directory/eclipse/configuration/org.eclipse.update/, restart eclipse
  
b, take the-clean parameter when you start eclipse
such as: D:/eclipse/eclipse.exe-clean

C, if eclipse startup cannot find the plugin, workaround: Add a line to the/configuration/config.ini file
Osgi.checkconfiguration=true. So it will look for and install Plug-ins, find the line can be commented out, so that each time you start will not be looking for plug-ins and appear slow.

D, plug-in installation verification and records see: ECLIPSE's Workspace below the. metadata/.log file, such as:%eclipse_home%/workspace/.metadata/.log file, if there is a problem, Open this file to see and resolve 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.