Install Eclipse Plugins – The Easy Way

by venukb on August 20, 2006

Eclipse as of today is the industry’s major non-Microsoft software tool platform. The number of companies adopting this platform is a testimonial of the platform’s success.

(Check my previous post for more on the history of Eclipse IDE)

Eclipse has a well-designed, and extensible architecture. What is valuable about Eclipse is that it provides an open source platform for creating an extensible integrated development environment. This platform allows anyone to build tools that integrate seamlessly with the environment and other tools.

The key to the seamless integration of tools with Eclipse is the plug-in. With the exception of a small run-time kernel, everything in Eclipse is a plug-in. This means that a plug-in you develop integrates with Eclipse in exactly the same way as other plug-ins.

Any new person who is introduced to Eclipse in concerned with one important question : How to Install Eclipse Plugins ?

There are lot of useful, high quality third party plugins available and all the plugin installation instructions specify at most 2 ways to install Eclipse Plugins

Normal Ways of Installing Eclipse Plugin

I will take the Eclipse Webtools Plugin to describe the 2 “normal” ways of installing Eclipse Plugins. In the next section I will show how the same can be done in a “easy” way.

This is how the Eclipse SDK folder structure looks like:

After extracting the Webtools package you have this folder hierarchy:

One of the common method of installing is to copy the contents of the “features” into the “features” folder of eclipse, and do the same with the “plugins” folder.

The other way of installing, which Eclipse also recommends is via the Update Manager.

You can choose the components you wish to install, choose the dependent plugins etc. In this process, generally you select the default installation location specified by the wizard.

The advantage with this approach is that when you select a component you are also made aware of the dependent plugins that needs to be installed. For e.g. If I select Web Tools, I am also told to select/install GEF

The disadvantage with this approach is that it never works well in a low bandwidth environment. I have struggled so many times to install via update manager, somewhere its gets stuck and I am left with a partially installed, corrupted environment.

The Easy Way

Now for the “Easy” way of installing Eclipse Plugins. Very few people are aware of this concept and Eclipse somehow doesn’t seem to document this approach anywhere.

This method uses the concept of “Links”. Here is the step by step procedure. (In the explanation I have used the installation of Webtools as the example)

1. Create a folder named links inside the eclipse folder (See Picture below)

2. Create a new file inside this folder and name it as say wtp.link. Note that the file name can be any valid string, but the extension has to be link.

3. Assuming that I have copied the Web tools into D:\thirdparty as shown below,

the contents of wtp.link has to be this:

path=D:/thirdparty/wtp

Points to Note:

  • The string should always start with “path=” keyword.
  • The path should point to a directory which has a “eclipse” folder which in turn has “features” and “plugins” as sub-folders
  • It is recommended to use forward slash ‘/’ in the path (If you want use Backslash, see that you use the escape character i.e. in Windows it should be “\”)
  • The file extension should end with “link
  • The file (i.e wtp.link in our example) should exist in the “links” folder.
  • It is recommended to create link files only for big plugins/applications. For small plugins you can create just one link file, say misc.link and copy all the small plugins to the path referred by this link.

Restart Eclipse and now all the plugins and feature descriptions should be read from the path referred by the “link” files.

Advantages

Eclipse has a lot of top level and technology projects. To experiment with these projects, the “links” concept comes to the rescue. You can extract the plugin to a “thirdparty” (or a folder of your choice) and just link it within the eclipse installation. My current configuration looks like this:

Eclipse Projects/Third Party Plugins

Corresponding Link files

The “Copy” approach just bloats the eclipse installation and you cannot remove/uninstall the plugin easily. With links approach, you can just remove the “link” file and the plugin is uninstalled !!

The same links directory can be used in another eclipse installation. For e.g. if you are working with Milestone or different version of Eclipse, you can just copy the links folder (containing .link files) and the plugins are installed.

It is very easy to manage different versions of a plugin. If a new version doesn’t work, reverting back to a previous version is pretty easy.

Also, if you use the update feature in Eclipse, you can choose one of the above folders as the installation directory.

Conclusion

This approach seems to work fine in both windows and linux. I am not sure why this approach is not documented in Eclipse. I found out about this when I was using the trial version of RAD (Rational Application Developer). It was used primarily to manage product extensions. I believe the same concept can be used to manage plugins (Install/Uninstall).

Using Dropins to install Eclipse plugins

One of the problems with the above “link” approach is the plugin dependency resolution. This has to be take care of manually by the plugin installer. If the install is done via the UI, it manage to find and install all the dependencies.

Staring from Eclipse 3.4, Eclipse SDK has a new provisioning system called Equinox/p2.

http://wiki.eclipse.org/Equinox_p2_Getting_Started

p2 supports the notion of watched directories and this directory a user or a script can drop “files”. Eclipse platform ships with one such default watched directory called dropins

The dropins folder is configured to be scanned during startup, and for changes to be immediately applied to the running system. Thus the dropins folder can be used much like the plugins directory was used in the past.

A subtle twist on old behavior here is that plug-ins and features added to the dropins folder are properly installed into the system rather than being forced in. This means p2 has an opportunity to confirm that the new plug-in doesn’t conflict with other installed plug-ins, and it can even go out and fetch any missing prerequisites of the newly dropped in plug-ins.

This also means you can later use the GUI to install extra functionality that depends on the plug-ins in the dropins folder, since p2 knows about them and can reason about their dependencies. In other words, new plug-ins installed via the dropins folder behave exactly like plug-ins installed via the user interface.

Supported dropin formats:

1. You can just drop the plugin jar in the dropins folder

2. You can also drop in the traditional Eclipse application or extension layout directly in the dropins folder

3. You can add an additional layer of folders immediately below the dropins folder that contain traditional Eclipse extensions

4. Or you can add link files as in the Eclipse links folder

Hope this post was useful, if you had any problems using this approach, do leave a comment with the problem description.

Thanks to Bryan Solan for the Dropins reference.

{ 145 comments… read them below or add one }

Hornburg August 24, 2006 at 1:56 am

help > software updates > manage configuration then righ click on “Eclipse SDK” add > extension location

it’s kinda faster

Reply

Venu August 24, 2006 at 9:17 am

Hornburg, yes it might be faster by adding extension location. But if the scenario is working between multiple versions of eclipse and multiple versions of plugin, then u can easily move around the plugins.

If you are doing it one time, I guess the “add extension location” makes more sense.
A visitor pointed me to this article which explains this concept

http://blog.exis.com/colin/archives/2004/12/23/managing-plugins-in-eclipse/

Reply

Philippe August 24, 2006 at 10:01 am

FYI, i am one of the maintainers of an eclipse distros called EasyEclipse which install all its plugins like that.

Reply

venukb August 24, 2006 at 10:12 am

Philippe, checked EasyEclipse Pretty nice..But I didnt get by what you meant by “that” you use links concept or the Extension location concept ?

Reply

Bhaskar G September 22, 2006 at 11:27 am

Hi,

This is a nice article.
How do I used environment variables in the .link file.

can I use the following
path=${HOME}/plugins

Regards,
Bhaskar

Reply

Venu September 22, 2006 at 11:43 am

Bhaskar, thatz an interesting question ! I have not used eclipse on unix environment, if it works it will be great. Can u check it and let me know !

I will check on windows,but my feeling is that it might not work otherwise IBM should have used this quirk on their RAD installation :)

Reply

Bhaskar G September 25, 2006 at 10:18 am

Hi Venu,

I have tested this. This feature is not working.

Regards,
Bhaskar

Reply

Venu September 27, 2006 at 9:27 am

Thanks Bhaskar, for checking on that..
I guess we have to manage with the “famous” copy paste mechanism :)

Reply

William November 21, 2006 at 8:57 pm

Hi,

This is an excellent article.

It might not be an easier way to install eclipse plugins, but for sure it is a better way to install and maintain eclipse plugins.

Thanks,
William.

Reply

venukb November 23, 2006 at 9:48 am

Thanks William, i do agree creating and setting up those links is a little pain, but once its in place its not that difficult to move/edit these files :)

Reply

Daivd Farrell December 1, 2006 at 1:31 am

I’ve been using this technique for ages. I discovered it after installing MyEclipseIDE and seeing how it installed.

A couple of slight additions:

* EVERY plugin folder contains the version in its name so I can easily track multiple versions

* I keep a copy of each .link file in the /thirdparty folder so I can quickly select and copy the plugin’s I want and paste them into Eclipse’s /links folder. It also helps prevent typo’s because you only have to get it right once.

* The .link files have the EXACT same name as the plugin folder.

Hope that helps,

-Dave

Reply

Venu December 1, 2006 at 11:58 am

I don’t completely agree on the first point, its not mandatory for a file name to have version.

Second point regarding keeping the link files in the thirdparty folder is a nice idea :)

And .link file name can be ANYTHING .. as I have mentioned in the post, it can be any valid file name and it doesn’t need to match the name of any plugin folder

Reply

Philippe December 19, 2006 at 2:30 pm

> venukb wrote on August 24, 2006 @ 10:12 am
> you use links concept or the Extension location concept
we use both:
- all plugins are packaged with an eclipseextension
- at install time a link file is created with the installer

Reply

Roman Porotnikov December 22, 2006 at 2:29 pm

I use several Eclipse configurations with the same Eclipse install and so run Eclipse with different values of “-configuration” parameter. Different configurations may have different sets of plugins, including different versions of the same plugin that would conflict if installed in the same configuration. For such case, I believe the only way to go is to use extension locations, because links are shared between configurations and extension locations are not. Nevertheless, I have several plugins shared among all the configurations I use, so links-based approach will simplify the process of management of such shared plugins.

Reply

Venu December 23, 2006 at 12:43 am

Hi Roman,
I have read about the -configuration argument, however I have never found out a way to use it properly. I tried “googling” around but couldn’t find much. How is that argument used ?

Reply

Roman Porotnikov December 26, 2006 at 7:43 pm

When setting up the new configuration I just copy the “configuration” folder from the eclipse install to another location and then launch eclipse like “eclipse -configuration new_config_dir”. So, info related to all the plugins I add via configuration manager is stored in the new_config_dir instead of the eclipse/configuration. I repeat the procedure with another directory when I need a different set of plugins.

Reply

Venu December 27, 2006 at 8:56 pm

Nice :) never realized you could handle plugins that way also.. will try it out. Thanks :)

Reply

anitsirK January 30, 2007 at 10:45 pm

Has this links folder and links file technique been used successfully by anyone on any of the Rational version 7 line of products?

I can enable my plugin using the “add an extension location” GUI operation, but RSA, RSM and RAD appear to completely ignore the links folder.

Reply

Rajesh February 4, 2007 at 11:20 am

Hi,
I installed a plugin using software help->Software updates ->find and install link in RAD. How do I uninstall it?

Reply

Kevin Roche February 16, 2007 at 4:29 pm

This looks ideal for me as I want to try several plugins before deciding which ones to use. Unfortunately it seems to work some of the time but not all of the time.

I tried the technique with CFEclipse and Aptana and they work well, but JSEclipse did not show up as a perspective when I tried that. Should it or does it work some other way?

Also wnted to use XML Buddy but it did not seem to have the right directories when I unzip the distro.

Any ideas?

Reply

venukb February 17, 2007 at 12:00 am

Hi Kevin,
I have loaded lots of plugins using this approach and none have failed. Even if they have, its because of my mistake in not conforming to the folder layout.

The .link file should point to a directory which has eclipse directory and this eclipse directory should have plugins and features folder.

Some of the places where you might make a mistake
1. Path name given in the link file (Also note that the path should have forward slash /)
2. Directory structure not in proper format

If both of these are fine, then your plugin might not be loading because of some missing dependent plugins. Start eclipse with a -clean option and check Error Log View in Eclipse. You should find logs if any plugin is not loaded properly.

Reply

hima bindu March 6, 2007 at 12:48 pm

RAD is not displaying installed plugin:(

i installed the “metrics plugin”(web: http://sourceforge.net/projects/metrics) to find the code metrics in RAD.

Usually after installation in Eclipse, i will select a project and right click on it to see the ‘properties’ and ‘Enable Metrics’ in that view. But in RAD 6.0.1 (Eclipse version 3.0.2) it is not working.

Can anyone verify this? Kindly tell me how to solve this problem, as i have to run the metrics plugin in RAD 6.0.1.

Reply

hima bindu March 6, 2007 at 12:55 pm

hima bindu
Mar 6th, 2007 at 12:48 pm
continued..

by the way, your method works fine in eclipse (3.1) but in RAD eclipse it doesnt.

Reply

anitsirK March 6, 2007 at 7:14 pm

To hima bindu: This method doesn’t work in Rational 7 products because IBM disabled it. I found this link with alternate methods, when I was trying to get this to work on those products:

Reply

hima bindu March 7, 2007 at 10:14 am

hi anitsirK ..
i was talking about version 6 of RAD… can u plz tell me whether this works for version 6 also??

Reply

anitsirK March 7, 2007 at 11:06 pm

hima bindu:

Yes, it does. If you look in the …\IBM\Rational\SDP\6.0\eclipse directory (assuming you’ve installed to the default location), there’s a links folder already there, and IBM actually has several files in there when you first install the product (com.ibm.rational.rad.link for example). Put your .link files in there, and it should work, as long as your plugins work on RAD 6.

In the version 7 line (RSM, RAD, RSA), this no longer works. Why IBM seems to like removing features, then selling it as an upgrade, I’ll never understand.

Reply

alex April 12, 2007 at 1:38 am

hi nice site.

Reply

[tourist].Tam May 17, 2007 at 9:18 pm

just tried and did a fresh install after having read this post (and a few other on the topic). And I couldn’t have the “windows” way to write the path to work….

But it works fine ^_^

Tam

Reply

venukb May 17, 2007 at 9:40 pm

And I couldn’t have the “windows� way to write the path to work….

Tam I didnt understand this part of your comment. Did you have any trouble with “links” approach ?

Reply

Kevin Roche July 4, 2007 at 3:29 pm

Venu,

I tried your suggestions to understand why the JSEclipse plugin is not working but can’t see any problem with the .link file or athe way the path is written. It’s just like the others and they all work.

I have decided that it is probably that it was built for Eclipse 3.1 and I am using 3.2. I guess I have to wait for a new version.

Reply

venukb July 4, 2007 at 3:56 pm

Kevin, I tried to test it out, but seems like its acquired by Adobe and requires some login to download.

Anway, the only way to find out whether the plugin is loaded is via the “Error Log” view. It will report if the plugin failed to load and also the reason
(like some API mismtach or dependent plugin missing etc)

Reply

Jay July 29, 2007 at 8:21 am

Hi,
Does anyone know how to install eclipse v3.3 in RAD 7.0.
Currently it uses eclipse v3.2

Reply

Tavo August 1, 2007 at 10:22 pm

Hi
i have a question… the Tail plugin for Eclipse (version 0.5.0), works in eclipse 3.2.2 with MyEclipse 5.5.1 GA?.
I have a copy and a tried to install but don’t work.
Sorry for my english.
Bye bye.

Reply

steve August 15, 2007 at 1:36 pm

It doesn’t work for me with the Subclipse plug-in and there is no error log report for it.

It installed fine with the update manager. What I did notice was that when installing with the update manager I had to agree to license conditions before installation. Could the lack of license agreement be what the link method is getting blocked by without reporting an error?

Reply

Venu August 15, 2007 at 5:53 pm

Jay,
I do remember that RAD has a distinct folder which has the base Eclipse SDK. However I wouldn’t recommend changing that, since the plugin’s based on Eclipse 3.2 might no longer work with 3.3 (If there are API changes)

Tavo,
The Tail Plugin is very old and was last updated on Nov 18 2003. Probably the plugin api no longer works with Eclipse 3.2.2. When you start Eclipse, have a look at the “Error Log” view. The view shows details on plug-in load failures.

Meanwhile check on this post for an alternative way of Tailing Log files on Windows

Reply

Venu August 15, 2007 at 6:02 pm

Steve,
The license page in the update wizard pops up for every plugin installed via the update mechanism.

To test out, I downloaded the Subclipse plugin from this URL:
http://subclipse.tigris.org/files/documents/906/38385/site-1.2.3.zip

extracted the contents and copied it to a folder structure like this.

subclipse

I also created a “link” file pointing to the Subclipse folder <code>path=D:/europa/subclipse</code> and I was all set. I could configure settings via the SVN preference page and also switch to the SVN perspective.

As mentioned in the post, one thing to note is the folder hierarchy. For E.g. If you have forgot to create a “eclipse” folder inside “Subclipse”, the plugin would never load.

Reply

jim wallis August 28, 2007 at 6:55 pm

I’m doing something wrong and would appreciate an extra set of eyeballs to get this installation method moving forward.
I have a very simple jar file that, when, copied to the eclipse/plugin directory, works perfectly.
Just to keep it simple, the jar file only contains the META-INF/MANIFEST.MF file, the content xml file, and the
plugin xml file.

As per the instructions, I did the following:
under: eclipse/links/aaa.link is
path=C:/tpplugins/aaa

under C:\tpplugins\aaa I did the following:
created C:\tpplugins\aaa\eclipse\features and C:\tpplugins\aaa\eclipse\plugins

in the folder C:\tpplugins\aaa I did the following:
copied the jar file.
extracted the jar file so that I had:
C:\tpplugins\aaa\bbb.jar
C:\tpplugins\aaa\META-INF\MANIFEST.MF file
C:\tpplugins\aaa\content.xml
C:\tpplugins\aaa\plugin.xml

Restarted Eclipse. No errors messages were encountered on startup and nothing was logged in error log file.
Tried all combinations of the above files. Just the jar file, just the files themselves, and all files.
The files were not listed under the help>> cheatsheets.
Any ideas? Thank you in advance.

Reply

venukb August 28, 2007 at 10:07 pm

Jim, with eclipse 3.2 and above, you don’t need to extract the JAR file.

You should copy or extract to the following path
c:\tpplugins\aaa\eclipse\plugins.

you seem to be extracting at c:\tpplugins\aaa which is wrong.

Reply

jim wallis August 29, 2007 at 9:32 am

Venukb,
Bingo!! I feel like Uncle Eddie in Christmas Vacation.
Here is what worked.
Copied jar file to C:\tpplugins\aaa\eclipse\plugins.
Restarted Eclipse.
The world was right again.
I wanted to locate where I had problems with the original directions.
I think it was with step #3 in the original article.
It says, “Assuming that I have copied the Web tools into D:\thirdparty as shown below”, etc…
I certainly didn’t get it.
Well what was copied and, really, where was it copied?
Better would be “Copy jar file to C:\tpplugins\aaa\eclipse\plugins”
Venukb, I can’t thank you enough. Your reply made a difference. I was ready to throw in the towel.
Thanks again,
Jim

Reply

venukb August 29, 2007 at 11:17 pm

Jim, Glad you got it working :)

I did re-read the post again. If you notice, I do mention WTP package and its hierarchy before staring with the steps.

Irrespective of this, I will definitely change point 3; I myself was confused a little bit by the ordering.

Reply

Gold September 11, 2007 at 11:34 pm

[…] Install Eclipse Plugins – The Easy Way? ????. ?? ?? ??? ???? ? ???? ??. […]
+1

Reply

Thell September 27, 2007 at 1:35 am

How do the feature loading methods (update, .eclipseextension, .link) differ from the plugin perspective?

ie:
When using the update manager duplicate plugins don’t seem to be downloaded and versions are checked, so when you restart eclipse it doesn’t spend wasted time trying to load a plugin that has already been loaded.
-vs-
When using the .eclipseextension; if there exists a plugin in the eclipse/plugins folder that also exists under the eclipse folder pointed at be the .eclipseextension eclipse seems to go through and verify it isn’t already loaded and if it is it writes to the error log.

Still trying to learn how the loading mechanism works…

Reply

Renato Brazioli September 29, 2007 at 6:16 pm

It works fine on Mac OS X 10.4

Thanks!

R.

Reply

Avinash October 19, 2007 at 3:37 pm

Nice article Venu

Reply

Kamal October 30, 2007 at 11:25 am

When I try to add subclipse 1.2.4 as an extension through Manual Installation, (Subclipse->eclipse->has plugin and features folders); it says there must be a .eclipseextension file which is not there. Do we have to create it by ourselves?

But when I followed the links path, it works fine.

Reply

awaka November 6, 2007 at 7:42 pm

Hi,
Thank you for your article.
I’m trying to create a links folder with link files inside for an exported RCP application (I export my application with the eclipse wizard and then I create manually the folders).
It seems it doesn’t work…
Have you already tried to do that?
Thank you very much.

Reply

Romain February 26, 2008 at 8:51 pm

Thank you very much for this article. Very useful.

Interestingly, I discovered in the Eclipse 3.3 sources that you can prepend the actual path in the .link files with “r ” or “rw ” to create read-only or read/write (default) sites, as in:

path=r

Hope this helps

Reply

Romain February 26, 2008 at 8:53 pm

“Greater than” and “lesser than” signs were removed. The syntax is:

path=r /path/to/…

Reply

Rama March 10, 2008 at 9:47 am

I am unable to install for some reason. I was trying to install Hibernate Tools. Am I missing something here. I have eclipse 3.3.2 installed on my machine. Do I have install something more or am I missing something here??

Reply

venukb April 2, 2008 at 8:34 pm

@Kamal,
Yes if you are using the extensions mechanism you should refer to this post

http://blog.exis.com/colin/archives/2004/12/23/managing-plugins-in-eclipse/

@Romain,
Thanks very much for that input. Will update the article with this info.

@Rama,
What is the error that you see ?

Reply

Octavius May 10, 2008 at 10:37 pm

About the JSEclipse plug-in I tried the method described here to load it from a third party plug-ins folder and the first time the plug-in loaded just fine. After a workbench restart I saw the plug-in didn’t load at all and went to the config manager just to see that the plug-in was disabled.
What I did next was enable it and restarted the workbech once again to what it was disabled again. I repeated the process but instead of restarting the workbench I just applied the changes without any restart and the plug-in is working just fine.
Any ideas why this happens? Does JSEclipse conflicts with any other feature?
Hope this might help a bit.
Nice article by the way.

Reply

Mohammad June 6, 2008 at 9:15 pm

Very good way and it worked with me well.
But what if I copied whole the eclipse root directory to another location (by a flash memory or shared it on a network) I guess that we have to:
(1). All plug-ins must be copied
(2). Strings 0f the corresponding link files (in the link folder) must be changed according to the corresponding plug-in new position.
Am I right?

Reply

Venu June 7, 2008 at 1:17 pm

Octavius,
Apologies for the late reply. Regarding JSEclipse even Kevin also had a similar trouble.
So I went ahead and tried installing JSEclipse using Links. When I fired up eclipse, saw a message in the Error log saying “could not find feature.xml”.
I am out of touch with eclipse from some time, but for some reason, eclipse could not find the feature.xml which was in the archive (feature jar file). I extracted the contents and deleted the archive and restarted eclipse, seemed to work fine !

Try it and let me know if it worked for you.

Mohammad,
Even if you move the entire eclipse directory, there is nothing to be done since the links point to the same external directories. Note that you should ideally keep the extension folders out of Eclipse directory !

If you do rename or move the link folders themselves, as you have pointed out you need to update the string.

Reply

Ferii August 20, 2008 at 10:13 pm

Link concept works fine for me on Mandriva 8.1. My experiences:
I use
path=0_thirdparty/org.jupeter.yaml_editor_1.0.2
where my eclipse directory is the root.
path=$home/apps/eclipse/0_thirdparty/org.jupeter.yaml_editor_1.0.2
works also. So you can use environmental variables. I disable plugins renaming *.link file to *.link_

Thanx, Venu. Live long and prosper!

Reply

Mohammad September 3, 2008 at 10:59 am

Thanks Venu, Keep Up the Good Work !

Reply

JM Maranan December 8, 2008 at 4:31 pm

Hi Venu,
This approach seems ok but it is not appropriate for a portable Eclipse installation (I carry my Eclipse + Workspace on a portable harddrive). The Update Manager > Add Extension Location is more feasible and recognizes the change via relative location. Although after adding the extension you could only remove it manually via eclipse install>configuration>org.eclipse.update>platform.xml.
Anyway, thanks for the info.. I have walked through your steps first.

Many thanks!
-jmm

Reply

Rich December 24, 2008 at 8:14 pm

This work fine with RAD7!

Reply

Luis January 2, 2009 at 12:04 am
Akbar Pasha January 27, 2009 at 6:53 pm

I tried this link approach it is working fine but when i removed links folder still i am getting those linked plugins. how can i uninstall those plugins. Please help me.

Reply

venukb January 28, 2009 at 1:13 am

JMM,
I have never tried giving a relative path in the link file. It might work I guess.

Luis,
Features is not always required by eclipse plugin contract as far as I know. I haven’t tried this approach with 3.4.

Akbar,
Are you seeing the functionality of the removed plugins? Thats surprising. In any case you can do eclipse -clean This re builds the plugin cache and you should be set.

Reply

Akbar Pasha January 28, 2009 at 10:41 am

Hi Venkub,
Thanks for your reply, after removing the link file i opened eclipse with -clean option but still i am seeing the functionality of the removed plugins.
please help me. What do i need to do?

Reply

Venu November 3, 2010 at 7:24 pm

Start eclipse with -clean argument …

Reply

Mikey February 25, 2009 at 8:34 pm

Hi.
Tried this with latest eclipse installed fresh on 24Feb2009. It is the “Ganymede” version, C/C++ platform, downloaded from eclipse.org, version 3.4.1, detailed info below. Tried the Subclipse plugin, triple checked that everything is as described in the article. It does not work. I see that the feature has apparently been removed from some versions of Eclipse. Does anyone know if that is the case for the latest “Ganymede”?
Thanks. -Mikey

Eclipse Platform Version: 3.4.1
Build id: M20080911-1700
(c) Copyright Eclipse contributors and others 2000, 2008. All rights reserved. Visit http://www.eclipse.org/platform
This product includes software developed by the
Apache Software Foundation http://www.apache.org

Reply

Kosuke Fudy March 28, 2009 at 9:14 pm

How could I use a plugin directory that resides on network?
I tried ” path=\\\\192.168.0.1\\EclipsePlugins”, but it doesn’t work

Reply

Sathish October 14, 2010 at 1:29 pm

Hello Kosuke,
Did you get any solution for your problem. I have a similar requirement, and I am a newbie to Eclipse plugins, and I did not find a proper solution yet. Your help would be much appreciated.

Thanks

Reply

Aatish April 5, 2009 at 8:02 am

Hey,
I am a newbie in eclipse. I have tried the basic thing of copying the contents of features and plugins and pasting it into the respective folders but it didn’t work. I mean, I am not getting the required API when I try to write the program.

Thanks

Reply

subra April 27, 2009 at 10:37 am

great post venu. Thanks. LEt me give this a shot.

Reply

Dipanjan July 3, 2009 at 8:36 am

Thanks a lot man!

Reply

sudhanshu August 22, 2009 at 10:00 pm

Hi I tried quatumDB with eclipse 3.5 , it is only showing the help plugin, but not loading the views and perspectives

Reply

sudhanshu August 22, 2009 at 10:02 pm

it is working perfectly when I install inside eclipse plugin and features folder, but when I use the link it is neither showing any error nor showing the plugin views and perspectives

Reply

greg August 29, 2009 at 5:05 am

In the tutorial what do you mean:
the contents of wtp.link has to be this: path=D:/thirdparty/wtp
For someone new to plugin’s and fairly new to Eclipse you’ve completly jumped steps here. I have no idea what you are saying to do. Where do I create this code? in eclipse? in a text document in plugins? and what if the plugin has no “features” folder, for instance I would like to install Ecalc from: http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-544.html
and how do I launch the plugin inside Eclipse?

Reply

venukb November 8, 2009 at 5:30 pm

Greg,
In a text document; a missing feature folder shouldn’t matter..

Reply

swati November 10, 2009 at 11:58 pm

i am working in a project on eclipse.i have to install manually developed plugins in eclipse.how can i do this?

Reply

Ashish November 21, 2009 at 7:34 pm

Hi,
I was having issues with ClickIDE plugin with Eclipse3.4. Initially I had it working (by manually extracting the files) but later I deleted the plugin as it was throwing some exception. Later when I re tried, it (clickIDE plugin) does not even gets loaded. Not sure what when wrong. I have installed Aptna plugins between ‘deleting’ and retrying the installation.

After reading this post, I tried but of little use. Said plugin still does not gets loaded. Someone please help. Is there any log file generated while starting Eclipse, which tells which plugins got loaded and which had problem loading.

Thanks
Ashish

Reply

sg December 9, 2009 at 7:59 pm

file extension “.lnk” (not .link) works

Reply

Venu November 3, 2010 at 7:38 pm

Sg, is .lnk for Linux/unix ?

Reply

Nguyen December 17, 2009 at 12:10 am

It’s amazing!!! Thank you so so much..I’m working with Eclipse Galileo 3.5 and I found that when replacing / in “path=” by // it works well. Once again thank you for sharing such awesome article!

Reply

Nitin February 2, 2010 at 7:44 pm

I am new to eclipse. I find this approach very useful.
I am able to add CDT, RDT to Eclipse Java EE IDE. So it’s really turning true IDE for all my development needs :)
Thanks for such useful post.

Reply

Peter February 18, 2010 at 10:40 pm

Is this supposed to work for RCP products you’ve created, or only for Eclipse IDE?
I have a product definition, and exported, for which I want to have the normal plugins folder for plug-ins that I’ve shipped with the product. And then also a link to a folder where the user can add own plug-ins. Any ideas if this should work? Or why I can’t get it to work? (with extensions .lnk/.link using ‘/’ and backslah, or double slash / backslash…)

Reply

Raj March 26, 2010 at 4:48 am

hey,
It worked for me on eclipse 3.1. I think its the simplest way to manage plug ins.Thx for this idea.
But, what is the best way to confirm whether that plug in is now available in eclipse? Is it listed under plugins ?

Reply

Felipe Ortiz April 8, 2010 at 11:10 pm

Very clear and efective.

Good post, VENUKB,

Reply

Ankit Kumar April 16, 2010 at 4:44 pm

Thank you very much for this article. Very useful.Have a good day

Reply

andrewsmith April 28, 2010 at 10:48 am

Thanks! this article was really helpful to me. my task gets easier.

Reply

Janardan June 17, 2010 at 12:35 pm

Thanks for the information.I did my plug-in installetion by following your information.

Reply

Vasja July 16, 2010 at 9:34 pm

links directory still works in Eclipse 3.6.
Thank you very much!

Reply

tHr July 22, 2010 at 4:09 pm

Hello i can’t use link approach in linux ubuntu with eclipse 3.6
i creat a folder links inside the eclipse sdk 3.6 and create other folder Third-party-eclipse-links in another path that has eclipse plugins folders like eclipse-cpp-helios-linux-gtk . In the links folder i create a file eclipse-cpp-helios-linux-gtk.link that has contents:
path=/home/taher/opt/Third-party-eclipse-links/eclipse-cpp-helios-linux-gtk/eclipse
but in doesen’t work properly for me and eclipse doesn’t Recognize the cpp plugin!!
in another way i change link file name to eclipse-cpp-helios-linux-gtk.lnk and at This time eclipse doesn’t recognize cpp plugin please help me to use this approach
thx

Reply

Andy September 30, 2010 at 11:22 pm

Try creating links Unix way
ln -s /your/plugin/dir pluginname

Reply

Bryan Solan September 24, 2010 at 9:08 pm

This feature seems to be superseded by the ‘dropins’ folder in recent versions of eclipse (p2 provisioning system). Allegedly the ‘links’ folder mechanism is still supported but I haven’t had much success with putting a .link file in either ‘links’ or ‘dropins’ in Helios.

Interesting documentation on this feature: http://wiki.eclipse.org/Equinox_p2_Getting_Started

Reply

Venu November 3, 2010 at 7:33 pm

Thanks for the reference Bryan.
I have to try this out.. I did see in the examples that you can even drop a “.link” in the dropins folder :)

Reply

watch friends online September 28, 2010 at 1:55 am

I recently installed eclipse. Thanks for showing us the easy way ;)

Reply

Ajay Pal Singh September 28, 2010 at 12:05 pm

How we install JSON plugin in Eclipse 3.3. If any one Know the step of installation. Please send complete steps on my Email- ajaypal.singh@daffodilsw.com

Reply

Alex DL September 28, 2010 at 9:15 pm

That’s very useful indeed. I always do the hard way when I need to move my installation to a new or other computer.
Although sometimes I prefer the convenience of the update manager, I’ve been, like you (and many others), left several times with partial installations, which are a pain in the arse to get it clean again.
Using the \links\ provides for a much better way to compartimentalize the plugins from Eclipse itself, and if it fails, you just unzip again the contents, or easily remove the link-file to get rid of undesirable plugins.

Thanks !

Reply

Spurthi October 29, 2010 at 4:27 pm

Hello sir,

Thanks for the article. Very informative one.

Actually I’m working on Developing Mashups on Google App Engine. For that I need to install PyDev, a python development plugin for eclipse. But I did not get that. So I downloaded Pyeclipse. But I’m not understanding whether it should be installed as a link as you explained in this article or in some other way. Because that it does not have folders like features and plugins. Could you please help me out in clarifying my doubt?

Thanks,
Spurthi T.

Reply

venukb November 3, 2010 at 8:46 pm

You should download the Zip format and then use the “links” method
The zip format is on sourceforge

Reply

sancho21 February 11, 2011 at 11:58 pm

This is a great tutorial which really inspire me to create my own way by using Git versioning system. Please checkout: http://michsan.web.id/content/how-install-eclipse-plugins-offline

Reply

Dean Cook February 13, 2011 at 4:18 am

Thank you for this explanation. It was very helpful.

Reply

Bhathiya February 17, 2011 at 1:11 pm

Really helpful article when i’m install javacc parser plugin offline

Reply

Lynn February 23, 2011 at 5:10 am

You are a GENIUS !!!! This is totally the way to go (the “link” way)
because the installer is a freakin nightmare !!!!!!

Reply

Rajkumar Ravi April 5, 2011 at 7:50 pm

I came across your article exactly when i m looking to install WTP directly by copying to plugins folder. Thank you very much for giving detailed instructions.

Reply

Suneet June 1, 2011 at 5:08 pm

Anyone try this approach with m2eclipse? I’ve downloaded the m2e and the m2e-extras plugin manually (since it’s not available as a zip). Fairly certain its the right structure but I can’t get it to work

Here’s a link (40MB) to the files.

Reply

Suneet June 1, 2011 at 5:09 pm

Anyone try this approach with m2eclipse? I’ve downloaded the m2e and the m2e-extras plugin manually (since it’s not available as a zip). Fairly certain its the right structure but I can’t get it to work

Here’s a link (40MB) to the files.
http://dl.dropbox.com/u/3749280/m2e.zip

Reply

Neil June 7, 2011 at 5:00 am

Links are working very well for me.
I am developing PHP projects using:
Version: Helios Release Build id: 20100617-1415 (Ubuntu)
I found trying to install SDK or PDE plugins into the above environment was proving (for me) impossible. (Missing connectors, incompatible versions, and all sorts of other errors).
I have now downloaded eclipse-SDK-3.6.2-linux-gtk-x86_64 to develop plug-ins, and then I’m using links to plug them in to my PHP development environment. Works great !
By the way, I inadvertently failed to name a link file with the ‘.link’ extension, and linking still works with a link file named ‘Unsaved Document 1′ !!

Reply

JohnM September 5, 2011 at 4:54 am

I urgently need to get Java3D to work with Java 1.6 and Indigo in Windows 7. In the past with Vista and older Java, eclipse and Java 3D versions, I simply installed Java3D normally and it would work. Now however, this does not work. So, I tried putting in the new java 3d eclipse plugins. Copying the plugins and features into Indigo did not work. After deleting and setting up a new eclipse, I tried your links method using Notepad to make a file “java3d.links” with the line “path=C:\\Java3dPlugin” (also tried \ and /) indicating where I copied the unzipped download in an eclipse folder. Still no luck. Any ideas?

Reply

michel December 13, 2011 at 8:34 pm

i tested wtp eclipse plugins is ok, but not work for the googleAppEngine plugins.

it is not easy to find and download the standalone eclipse plugins, since it is more common to use an update site(e.g. egit plugins).

thank you for your sharing

Michel

Reply

NIRANJAN January 9, 2012 at 2:37 pm

nice yar..
:)

Reply

Srimanta February 18, 2012 at 11:46 pm

thanks a lot for this article…

Reply

sumanth May 28, 2012 at 10:47 am

I just implementing a new plug-in and I have placed abc.txt file in my current project and I am trying to read in start(), but I am getting FileNotFoundException: abc.txt while running plug-in.

Any one please tell me how to read txt file in current directroy not in any other location.

Reply

Dorin August 3, 2012 at 6:22 pm

Hi

I have some plugins and I exported them into a feature. After that I tried to install the new feature using your instructions but no result for me.

I tried to install a single plugin (no feature) using links and It’s work

Best regards

Reply

Venki September 25, 2012 at 12:06 pm

Thanks.

Got quick installation with Links help. Super thanks.

Venki

Reply

Samuel Mburu October 13, 2012 at 6:29 am

Thanks for the info, this helped me very much.

It didn’t work for me initially using just the links directory, but I was able to get it working from the dropins directory using the .link folder. I think what my problem was that I used an environment var $HOME to reference my plugin, but it worked after switching to an absolute path. I’m on osx.

Good work, keep it up.

Reply

Felipe Milne June 22, 2013 at 5:51 am

Please watch the video “Glass Walls” with a very important message from Paul McCartney

Reply

cydia clash of clans free gems May 5, 2014 at 7:30 pm

eleventh elfdishly elflocks elicited elicitor elidile eligible eligibly.
To the chance to make changes, make resolutions, make lists.

These cheats will add up all the diamonds and coins that you need
for making your farm.

Reply

download music from youtube online May 10, 2014 at 9:46 am

fantastic submit, very informative. I ponder why the opposite experts of this sector don’t understand this.
You must proceed your writing. I am sure, you have a huge readers’ base already!

Reply

Lucienne May 11, 2014 at 4:20 am

That is very fascinating, You’re an excessively professional blogger.
I’ve joined your feed and look forward to seeking extra of
your fantastic post. Also, I have shared your website in my social networks

Reply

prostipute sadomaso May 23, 2014 at 4:15 am

Superbe post, j’en parlerai plus tard avec mes collègues

Reply

????????????? ?????????? ????????????? entopismos parakolouthisi June 14, 2014 at 5:03 pm

Everyone loves what you guys tend to be up too. This kind of clever work and reporting!
Keep up the great woorks guys I’ve incorporated youu guys
to my blogroll.

Reply

du mexique cancun menu June 23, 2014 at 9:16 pm

fantastic post, very informative. I ponder why the other specialists of this sector do not understand
this. You must proceed your writing. I’m confident, you’ve a great readers’ base already!

Reply

scotiametalwork.com June 24, 2014 at 2:04 am

It’s appropriate time to make some plans for the future and it is time
to be happy. I have read this post and if I could I want to suggest you some
interesting things or suggestions. Perhaps you
could write next articles referring to this article.
I wish to read even more things about it!

Reply

www.essexcaraudioandalarms.co.uk June 24, 2014 at 1:14 pm

If you would like to improve your know-how simply keep visiting this website and be
updated with the most recent news posted here.

Reply

dumex tv commercial June 24, 2014 at 3:59 pm

Wonderful goods from you, man. I have understand your stuff previous to and you’re just extremely fantastic.
I actually like what you have acquired here, really like
what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible.
I can not wait to read far more from you. This is really a great web
site.

Reply

Lingerie June 25, 2014 at 2:28 am

Share with each other what styles you like or don’t
like. “Each of the girls we selected come from a strong sports background. It is a perfect store to indulge in shopping for La Senza lingerie because of the prices offered by them.

Reply

http://cajitasdegalletas.blogspot.com.es/ June 25, 2014 at 4:05 pm

I do agree with all the ideas you have introduced on your post.
They’re very convincing and will definitely work.
Still, the posts are too quick for beginners.

Could you please prolong them a bit from next time?
Thanks for the post.

Reply

Margarito June 26, 2014 at 5:53 am

This specific first step is not really to reduce your own porn and assume you have flipped a new foliage.
The initial component of porn dependancy recovery is
usually not with regards to taking steps to never view adult porn again. There are various tricks and tips which can be employed to really get rid of
porn through your life instructions but the very first thing you want to do will be overcome another thing.

Reply

TV June 26, 2014 at 3:40 pm

Greetings! Very useful advice within this article!

It is the little changes that make the most important changes.
Thanks a lot for sharing!

Reply

location pour déménagement pas cher June 30, 2014 at 7:04 am

Canada Day is celebrated on July 1st every year in Canada.

You’ll probably want to pare down any unnecessary items that you can throw away.

If this is the case the costs will vary a considerable amount.

Reply

Spotify Premium July 4, 2014 at 5:24 am

Tremendous issues here. I’m very satisfied to peer your article.
Thanks so much and I’m having a look forward to contact
you. Will you kindly drop me a mail?

Reply

Emery July 4, 2014 at 6:12 pm

The show season fishing rod xpuyu comes round all took
quickly, and I’ll be getting along to as many as the wife lets me!

Reply

Mini Warriors cheat July 7, 2014 at 8:36 pm

Hi! I realize his is kind of off-topic however I needed to ask.
Dooes building a well-established blog such as yours reqyire a
lot of work? I’m completely new to running a blog however I doo write in my journal
everyday. I’d like to start a blog so I will be able tto share my
own experience and views online. Please leet me kow if yyou have any
recommendations or tips for new aspiring blog owners.
Thankyou!

Reply

http://www.c-art.org.uk/artists/te-quieres-energia-solar/gallery July 16, 2014 at 5:58 pm

Can I simply say what a relief to discover an individual who truly understands what they’re discussing on the web.
You definitely realize how to bring an issue to light and make it
important. A lot more people really need to read this and understand this side of your story.
I can’t believe you aren’t more popular given that you
certainly have the gift.

Reply

CasinoLebanon July 19, 2014 at 10:08 pm

Somebody necessarily lend a hand to make crigically articles I’d
state. This is the very first time I frequented your wbsite
page and thus far? I amazed with tthe research yyou ade to make this particular submit extraordinary.
Magnificent activity!

Reply

dich vu backlink for seo July 21, 2014 at 8:58 am

you’re actually a good webmaster. The site loading velocity is amazing.
It seems that you are doing any distinctive trick.
Furthermore, The contents are masterpiece. you’ve done
a magnificent process in this topic!

Reply

http://fwdurl.net/ July 23, 2014 at 11:10 am

Article writing is also a fun, if you be acquainted with afterward you
can write otherwise it is complicated to write.

Reply

blog.allsoftwaresales.com July 23, 2014 at 11:21 am

I don’t even know how I ended up here, but I thought this post was great.
I do not know who you are but certainly you are going to
a famous blogger if you are not already ;) Cheers!

Reply

gg.gg July 23, 2014 at 2:03 pm

May I simply just say what a relief to discover someone that
really understands what they are talking about on the net.
You certainly know how to bring an issue to light and make it important.
More and more people ought to look at this and understand this
side of your story. I was surprised that you’re not more popular because you surely have the gift.

Reply

www.poltz.com July 23, 2014 at 4:06 pm

Yes! Finally someone writes about two modern-day blenders.

Reply

blentec review July 23, 2014 at 5:19 pm

I got this website from my buddy who told me about this site and now this time I am visiting this web site and reading very informative articles or reviews at this place.

Reply

blendtec vs vitamix review July 23, 2014 at 6:08 pm

Good site you have got here.. It’s hard to find high-quality
writing like yours nowadays. I truly appreciate people like
you! Take care!!

Reply

vitamix vs blendtec July 23, 2014 at 8:24 pm

I couldn’t refrain from commenting. Very well written!

Reply

blendtec vs vitamix reviews July 24, 2014 at 12:09 am

That is a good tip particularly to those new to the blogosphere.
Simple but very precise information… Many thanks for sharing this one.
A must read article!

Reply

link.w20.dk July 24, 2014 at 12:44 am

I couldn’t resist commenting. Exceptionally well written!

Reply

ps.googleusercontent.com July 24, 2014 at 2:42 am

My brother suggested I might like this web site.
He was totally right. This post actually made my day. You cann’t imagine just how much time I had spent
for this info! Thanks!

Reply

lifestyleposh.com July 24, 2014 at 5:37 am

If some one wants expert view regarding blogging then i recommend him/her to
visit this webpage, Keep up the nice job.

Reply

surl.am July 24, 2014 at 8:14 am

I really like reading an article that can make men and women think.
Also, thank you for allowing me to comment!

Reply

Deangelo July 27, 2014 at 7:31 am

I loved as much as you will receive carried out right here.
The sketch is attractive, your authored subject matter stylish.

nonetheless, you command get bought an impatience over that you wish be delivering the following.
unwell unquestionably come further formerly again as exactly the same nearly a lot often inside
case you shield this hike.

Reply

Manie July 28, 2014 at 4:00 am

Common sense suggests that adding organization is equally important
to your room. When it comes to gardening, and accounting, bookkeeping and
accountancy services. A framing subcontractor failed to act and think that your
concrete patio. Davis said occurred after two years.

Reply

Leave a Comment

{ 20 trackbacks }

Previous post:

Next post: