(reprint) Install the Eclipse plugin using the links method

Source: Internet
Author: User

Because recently in the front-end things, need to install the Spket plug-in under Eclipse, but the online installation is not connected, and then an offline plug-in package, added to the Eclipse installation directory under the Dropin directory, how to import not to go in, is really a day of the dog, Later on the internet Baidu a lot of methods, are pits. But this blog post solves all of my doubts.

http://blog.csdn.net/whucyl/article/details/5355492

Lying in the groove, moved tears are left. In fact, I used this method before the plug-in, but the time is too long I forgot, so this reflects the importance of the essay! So hurry down the website, in order to insure, specially copy paste!

Here's how:

(1) Create a new two folder in the installation directory of Eclipse: one to store the plugin, named Myplugins, and the other to store the link file, named links.
(2) Unzip the downloaded plugin into the Myplugins directory, and unzip the path to the Eclipse installation path/myplugins/plug-in name. Since eclipse looks for the eclipse/features directory and the Eclipse/plugins directory under the specified directory to look for a legitimate eclipse plug-in, this requires that the destination directory must contain a/eclipse directory. If the unpacked folder does not have a/eclipse directory, you can create a new/eclipse directory under the extracted directory, and then transfer the plugins and features directories to the newly created/eclipse directory.
(3) in the links directory to create a link file, can be named as the plug-in name. Link. In the file, add the following "Path= plugin decompression path" to save the file.
(4) Start Eclipse to see the installed plug-in. If you do not see the plugin after installation, you will need to remove the configuration directory from the Eclipse directory and restart Eclipse.

For installing the Eclipse plugin using links, here are some additional notes:

(1) Plug-ins can be installed in multiple custom directories, and multiple plugins can be installed in a custom directory.
(2) The name and extension of the link file can be arbitrarily taken (using. txt,. Link is irrelevant), just make sure the path path in the link file is delimited with "/".
(3) The links directory can also have multiple link files, each link file will take effect the path parameter, a link file can have more than one path parameter.
(4) The plug-in can use relative paths. If the plug-in directory is built under the Eclipse installation directory, the path after the path parameter can be abbreviated as "path=myplugins/Plugin decompression folder".

To install the Net.sf.fjep.fatjar_0.0.31.jar plugin as an example:

Ø method One: Directly put the Net.sf.fjep.fatjar_0.0.31.jar in the Eclipse installation directory under the Plugins folder.
Ø method Two: Installation by links method--
1, in the Eclipse installation directory to create folders, D:/java/eclipse/myplugins and d:/java/eclipse/links;
2, unzip the plugin to get d:/java/eclipse/myplugins/net.sf.fjep.fatjar_0.0.31 directory, which contains plugins folder, which has net.sf.fjep.fatjar_0.0.31. Jar file;
3. Create a new Eclipse folder in d:/java/eclipse/myplugins/net.sf.fjep.fatjar_0.0.31 and move the plugins directory into the Eclipse directory to form the Eclipse/plugins directory ;
4. Create a new Net.sf.fjep.fatjar_0.0.31.link file in the D:/java/eclipse/links folder and edit the content as "Path= myplugins/net.sf.fjep.fatjar_0.0.31" , when you restart Eclipse, Eclipse looks for the Eclipse/plugins directory under the myplugins/net.sf.fjep.fatjar_0.0.31 directory to look for a legitimate plugin.

(reprinted) Installing the Eclipse plug-in using the links method

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.