Introduction to plug-in management in eclipse

Source: Internet
Author: User
Although it is a very simple problem, I still think it is quite worthy of my own. Currently, I have found three plug-in installation methods in Eclipse: (1) Of course, the simplest form is to copy the files under the plug-in subdirectories plugins and features directly to the corresponding eclipse directory, and then restart eclipse to see the installed plug-in. This method is simple, but it brings about the problem of plug-in uninstallation: Once the file is copied, it will be mixed with the original file. At that time, there will be no way to delete the plug-in files separately. (Of course, if you compare the contents of the plug-in to the corresponding directory of Eclipse, you will certainly be able to remove the plug-in files, but it seems a little too trouble !~) (2) The second method is the product extension method introduced earlier. This method has its advantages. No matter which directory your plug-in file is stored, you can find it by adding an extension, the link method does not support Chinese paths (that is, the paths contain Chinese characters ). To install the plug-in using product extension, the directory level of the plug-in must be: | -- plug-in file name (any) | --- eclipse | ---- plugins | ---- features | ----. eclipseextension if there is no corresponding directory level, you need to manually add it. (3) The third method is the commonly used link method, which is also relatively simple. You must first create a links folder under the eclipse main directory to store the *. Link file corresponding to the plug-in. Note: * The content of the. Link file (in Windows) is the plug-in path, and you need to change "/" in the path to "/". For example, if the source file of my tomcat plug-in is under the path D:/eclipse-sdk-3.1/Eclipse/newplugins/atatpluginv31 (that is, the previous layer of Eclipse plug-in subdirectory), then tomcat. link content is: Path = D:/eclipse-sdk-3.1/Eclipse/newplugins/tomcatpluginv31 Please note: when using the Link Method to install the plug-in, the plug-in path cannot contain Chinese characters, otherwise, it will be incorrect. I tried these results many times. When using the Link Method to install plug-ins, the directory level must be: | -- plug-in file name (any) | --- eclipse | ---- plugins | ---- features. Of course, if there is no corresponding directory level, you also need to manually add 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.