Lubos Eclipse Weblog

Blog about Eclipse and related technology

Explanation how to dynamically load or remove extensions based on extension point

Excellent explanation how to dynamically add/load or remove extensions based on your extension point.
Old way to load extensions was static and usually happened only while your plugin was being loaded. New approach uses IExtensionChangeHandler to load or remove the extension during the lifetime of your plugin.
See the article OSGi, Dynamics and Eclipse « EclipseSource Blog

July 26, 2009 Posted by lubosp | eclipse | | No Comments Yet

Eclipse 3.5 Treasures

Excellent blog about some Eclipse 3.5 Treasures, second part of the blog has useful PDE plugin development features (Plug-in Spy) Either You Succeed or Explain: Eclipse 3.5 Hidden Treasures.

July 21, 2009 Posted by lubosp | eclipse | | No Comments Yet

How I lost and found Mylyn with Eclipse 3.4 and how Yoxos saved me

I am a big fan of Mylyn, I have used it since the version 0.4 and even wrote CodeBeamer/Javaforge connector for Mylyn.

I was excited when Tasktop (you know, the guys who brought us Mylyn) started offering free Tasktop Starter for Eclipse and I had to have it.

And that is where my problems started and they were not caused by Tasktop or Mylyn. As recommended, I tried to use the new provisioning system/update manager P2 in Eclipse 3.4, but the install failed because of the bug in P2 that prevented install of Mylyn 3.0.1 (required by free Tasktop Starter), and because I am not quite familiar with the new update manager yet. After great help from Shawn Minto from Tasktop, I was able to force install of Mylyn 3.0.1, but the installation didn’t go quite as it should (but no error) and after restarting Eclipse, I got fatal error when trying to display Task List view. I made a mistake by removing Mylyn 3.0.1 manually from feature and plugin folder (the way I always did it since Eclipse 2.0). The result was, that Mylyn completely disappeared from Eclipse, even if P2 update manager thought that Mylyn is still installed. I then manually deleted all Mylyn related plugin and feature jars but I wasn’t able to reinstall it, because P2 thought, that Mylyn is still installed. After some more help from Shawn Minto I managed to reinstall Mylyn 3.0.1 from P2 Installed Software tab by selecting all Mylyn features and selecting Update… from popup menu. I was happy that I have Mylyn back, thanked Shawn for his help, and installed free Tasktop Starter. Everything looked good, no errors, so I left Eclipse running and went shopping with my wife (I know, I shouldn’t have done it, I hate shopping ;-) .

Surprise, surprise, when I came home, Eclipse was not runing (and no errors in the log), looks like it crashed. I restarted Eclipse and to my surprise, Mylyn (and Tasktop starter) were gone again and I wasn’t able to update Mylyn the from P2 Installed Software any more. And that is where Yoxos comes in.

Fortunatelly I use Yoxos on Demand, free Eclipse distribution service. Because of Yoxos, I was able in less than 10 minutes reinstall Eclipse 3.4 with all the plugins I use (I use over 50 plugins). I just went to Yoxos download page, selected my previously saved profile after I logged in and in a few minutes I had Eclipse 3.4 distribution zip file on my desktop with all my plugins. Then just unzip the Eclipse distribution, and start the newly installed Eclipse, all in less than 10 minutes. This is simply amazing, it would take me several hours to install all the plugins manually!

In conclusion, please do not remove manually any jars from Eclipse feature and plugin directories, and use P2 instead to manage your Eclipse distribution (and be patient with P2, while it has great potential, it is not quite as stable as the good old Update Manager). And do yourself a favor and check out Yoxos on Demand! While it is not perfect (for example Yoxos does not have any place to file bugs, problems, enhancement requests), it is the best free Eclipse distribution service (and yes I evaluated MyEclipse Pulse and Yoxos and Yoxos is far superior to Pulse IMHO).

July 28, 2008 Posted by lubosp | eclipse | | 4 Comments

Working with the Eclipse FileSystem …

November 9, 2006 Posted by lubosp | eclipse | | No Comments Yet

EclipseZone – SWT: The Newly Available DateTime …

November 6, 2006 Posted by lubosp | eclipse, swt | | No Comments Yet

Why I Converted to SWT

September 13, 2006 Posted by lubosp | eclipse | | No Comments Yet

Eclipse Plugins I use to extend Eclipse IDE functionality

Eclipse Plugins I use to extend Eclipse IDE functionality, and other information and links about Eclipse.

Eclipse Plugins Repositories:

Eclipse plugins I use:

Lately I have been using an Import/Export method for update site. I usually do not use plugin without the update site. But there are still a few plugins which are worth the hassle even without the update site like XML Buddy and Logwatcher. By using Import/Export I now use the eclipse own plugin/feature directories and on upgrade (or to duplicate on different machine), I just Import the update sites list and reload the plugins (thus getting the latest versions). Only the few plugins without update site are installed in separate plugin directory (eclipse_local/…).

Other useful plugins:

Other useful info and links

March 12, 2006 Posted by lubosp | eclipse | | No Comments Yet

Introduction: Eclipse Test and Performance Tools Platform

Introduction: Eclipse Test and Performance Tools Platform

TPTP, what a piece of junk. The worst eclipse plugin of the year. It has so many dependencies, that it is almost impossible to install. If they want to compete with NetBeans or for-fee profilers they have to do better, much better. I cannot install it by using Update manager. I tried version 3.1, the install was OK, but it couldn’t resolve classpath of my project. Now I am trying to install 4.0.1 and I cannot even install it. That is two outs. You tell me if this is product worth considering. I guess you get what you paid for.

February 17, 2006 Posted by lubosp | eclipse | | No Comments Yet

Eclipse project information management

I have installed Mylar 0.4.1 Eclipse plugin.

I will give Mylar a try even if it is version .0.4.1, mainly because Bugzilla integration (plugin), this is

the best piece of Mylar for me.

As far as reducing the information clutter in Package Explorer and Outline views, the

frequently used artifacts highlighting is great, but I still use the full view

not the Mylar reduced view. I guess it takes some time to get used to use

Mylar limited view and use Resource lookup (Ctrl+Shift+R) to get to resources not in the

view. Before Mylar I used a few tricks to help me with project navigation:

* Java package name compression introduced in 3.1 (great)

* Bookmarking frequently used files, classes (not only Java), and using

Bookmarks as Fast View.

Both made the project navigation easier.

November 6, 2005 Posted by lubosp | eclipse, mylyn | | No Comments Yet

EclipseZone – Remove Clutter by Compressing Package Names

August 10, 2005 Posted by lubosp | eclipse | | No Comments Yet