Tag Archives: eclipse

Solr's Lucene Source

I’m debugging a plugin for Solr. I’ve just about got the magic voodoo set up so that I can make Eclipse talk to tomcat and stick breakpoints in and so on. But I’ve immediately run into a problem. Even though … Continue reading

Posted in Uncategorized | Tagged , , , , | 4 Comments

Using a Java 6 based Eclipse with Cocoa

This is somewhat niche, but I’m going to post it anyway in case it helps somebody else… I recently saw a problem with Eclipse and m2eclipse. When I tried to import a Java 6 based project, I got an error … Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

Responsiveness

Yesterday, whilst trying out Eclipse 3.5, I noticed a problem with the new XSLT support. So, I filed bug 279793 (All XSLT 2.0 has validation errors in xslt-2.0.xsd). I got a response in under 30 minutes, including a workaround and … Continue reading

Posted in Uncategorized | Tagged | Comments Off

Eclipse 3.5 in Cocoa

I’m just trying out Eclipse 3.5-RC4. One of the big new features for me is that it’s now based on Cocoa instead of Carbon. There are many benefits to this, including being able to run on 64-bit Java 6. Fundamentally, … Continue reading

Posted in Uncategorized | Tagged , | Comments Off

More Java Memory Analysis

If you found Heap Dump Analysis interesting, you might also be interested in Identifying ThreadLocal Memory Leaks in JavaEE Web Apps from Igo Molnar. I saw this a day or so after my original post. He uses The eclipse memory … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off

Eclipse Update Failure

I’ve just hit the “update everything” button in my Eclipse install. All seemed well until I restarted it and got a message about a shared library not being found. Looking in Console.app showed this lovely little line: 09/02/2009 14:33:07 [0x0-0x1ef1ef].org.eclipse.eclipse[43353] … Continue reading

Posted in Uncategorized | Tagged , | Comments Off

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. … Continue reading

Posted in Uncategorized | Tagged , , , | 4 Comments

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(), … Continue reading

Posted in Uncategorized | Tagged , | Comments Off

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 … Continue reading

Posted in Uncategorized | Tagged , | Comments Off

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 … Continue reading

Posted in Uncategorized | Tagged , , , | 3 Comments