Free DNS provides easy shared DNS hosting & URL forwarding
Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Sunday, May 31, 2009

Netbeans vs Eclipse (for PHP)

All weekend I've tested Netbeans and Eclipse with my PHP projects, mainly Moodle (since it has the larger codebase).

I've been using Eclipse Europa with PDT 1.0.3 for almost an year now since Petr recomended it to me. I'm very happy with it, although on a few occations the workspace got corrupted and some of the features stopped working (code completion, code dereferencing, etc).

So this weekend I tested Eclipse Ganymade with PDT 2.0 and Netbeans 6.5. Ganymede was quickly out of race (for now) due to too much memory hogging. Netbeans was OK, but it felt like its PHP features are somehow behind PDT's: file parsing/opening was slower, code dereferecing worked incorrectly on a few occations, and after a few hours of working the memory consumption was also large. I liked it code completion speed and coding helps.

I was expecting more from Netbeans, but I guess it's still too much focused on Java. Eclipse seems more general. So for now, I'll keep my Eclipse.

Monday, May 18, 2009

Eclipse says "Workspace in use or cannot be created"

Out of the blue, Eclipse is saying that the "Workspace in use or cannot be created". I say ok, probably a lock file was left behind and so I do:
rm ~/workspace/.metadata/.lock

No error (so the file was left behind), yet the problem is not solved. I tried clearing out the workspace path. Same problem.
Googleing, I found this post, so I ran:
sudo gedit /usr/share/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs
removed the RECENT_WORKSPACES line. It works now.