Lubos Eclipse Bblog

Blog about Eclipse and related technology

Archive for July, 2008

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

Posted by lubosp on July 28, 2008

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).

Posted in eclipse | 4 Comments »