Tag Archives: eclipse

NetBeans 6.5

Today NetBeans 6.5 got released. Congratulations, guys! I’m primarily an Eclipse user1, but I keep hearing about NetBeans through the Java Posse and heck, I even subscribe to the NetBeans podcast to try and keep an eye on what’s up. Every time a new release comes out, I give it a whirl.
So [...]

Exceptional Origins

I’ve just noticed something rather nice in Eclipse. The “Mark Occurrences” feature () will show you where an exception is thrown. For example, here I’ve clicked on the IOEXception in the method definition.

You can clearly see that read(), write(), flush() and close() are points at which the IOEXception can be thrown.
Similarly, you can [...]

Exceptional Eclipse Tip

By default, when eclipse creates a try/catch block for you, you end up with something like this:

try {
doSomething();
catch (EvilException e) {
// TODO auto-generated catch block.
e.printStackTrace();
}

This is worse than useless, as it (effectively) covers up the exception1. [...]

Tomcat Logging in WTP

I’ve just been trying to enable debug logging for tomcat (don’t ask). Normally you do this by editing $CATALINA_HOME/conf/logging.properties and restarting.
Except I tried that in Eclipse (using WTP) and it didn’t work.
I tried copying it to the $CATALINA_BASE/conf directory instead1.
Still no joy.
I’ve just found the answer, after looking in the tomcat source. It [...]

m2eclipse tip

I was wondering why one of my computers seemed to have an older version of m2eclipse installed. It turns out that they moved the update site from m2eclipse.codehaus.org/update/ to m2eclipse.sonatype.org/update/. Doh. It’d be nice if they mentioned that one the front page.

q4e

I hate maven. The UI sucks so badly, it’s incredibly painful to use. Anything that can take the edge off this has to be a good thing. In the past, I’ve experimented with m2eclipse, but to be quite frank, it’s not much improvement over the command line. And the tools are [...]

Spellink

Eclipse’s spelling checker has a WTF moment:

Seriously, what dictionary doesn’t have “thesaurus” in it?

Eclipse Markers

I’m trying to develop a plugin for Eclipse that uses jslint to validate your JavaScript. This involves scanning all the JavaScript code, and using markers to say where the problem lies.
I’ve almost got this done. But there was the slight problem that when I clicked on the problem view, it took me to the [...]

Emacs vs Eclipse

Steve Yegge has yet another very long, but hugely informative post up: The Pinocchio Problem. It’s all about what makes great software. Or at least, less-bad software.
One of the things he touches on is Emacs and Eclipse extensions, when compared to Firefox.

The very best plug-in systems are powerful enough to build the entire [...]

Remote Eclipse Debugging

This article on Configuring Eclipse for Remote Debugging is very useful. Java debugging is really nice, because of the protocol for debugging a remote JVM. The first time I managed to debug a servlet in Eclipse, I was astonished.
Hang in there with the article. Most of it is irrelevant if you’ve used [...]