Today, I had a unpleasant, let's say shocking, surprise. I installed the WTP test plugins to Eclipse. I thought this largely harmless. I was playing around with some Javascript and OpenLayers-2.0. and wanted to see if I could get some tests for Javascript working. I bummed around until I found WTP Test plugins for Eclipse. It installed a menu item in the top menu bar entitled "WTP Tests". It has one menu item "Open".
I decided to see what this "Open" did, it brought up a dialog in which I selected some tests. I'm not exactly sure what I selected, but it "reconfigured" my workspace. That is, it deleted everything I was working on, except for a few old project directories I didn't need.
WTF?
I mean, why not all, FFS? How did it decide that it only wanted to delete stuff I cared about? And, it installed a project called "testWebExport".
Man, that's the last time I trust this piece of software. I suggest keeping everything you own out of Eclipse's workspace directory. Mine was "$HOME/workspace".
My chief suggestion is that you keep your project source code in another directory, and just let Eclipse manage the project metadata it's "workspace". Consider the workspace owned by Eclipse. If you don't want to loose your stuff, keep it in some place *you* own.
Luckily, I have most stuff backed up into Github, but I did loose a branch and a few deltas, because I didn't upload them yet. Piss me off!
Thanks Eclipse WTP Tests for making me start all over. Geez.
No comments:
Post a Comment