Eclipse hangs on SVN commit

eclipseIf you have a big project you try to check in to a subversion repository, eclipse can get part of the way through and then just hang. The only solution is to end task (or force quit on OSX).

But there is a solution!

This one eluded me (and google) for some time, but I am pleased to say that with the help of the Eclipse mailing list I have found the answer.

Open up the Eclipse preferences, choose Team -> SVN -> Console and uncheck the box that says ‘Limit Console Output’. With this option checked it seems that once Eclipse reaches the limit of the console output, it just freezes. I’m now able to check in a project with a lot of files and it’s all working excellently.

Eclipse Line Numbers Not Scrolling On OSX

Eclipse 3.5 Galileo OSX Cocoa version released June 24th fixes line numbers, breakpoint markers and cold folding regions scrolling problems that appear after upgrading OSX to 10.5.6 or greater.

eclipseIf you’re using the fantastic Eclipse IDE on OSX then you may have come across a small but highly annoying issue whereby the line numbers, breakpoint markers and cold folding sections in the left hand gutter do not scroll when you move through a long page you’re working on.

I discovered this happened only after upgrading to OSX 10.5.6, and there was a number of blog entries across the web that talked about how OSX 10.5.6 had broken the Dvorak keyboard layout but very little about Eclipse line numbers not scrolling. Most of the articles I did manage to find didn’t mention that the problem didn’t exist on 10.5.5 and previous. One that did, suggested waiting until 10.5.7 for a fix.

Unfortunately 10.5.7 does not fix the Eclipse line numbers not scrolling issue.

The good news is that there is a solution. Over at the Aptana support forum I came across an article talking exactly what I was experiencing – and someone commented that Eclipse 3.5 Galileo was to be soon released and that they couldn’t reproduce the problem on that version. After more digging – and this is where the Dvorak keyboard issue came up – I discovered that OSX 10.5.6 made some changes to the Carbon Framework libraries. Eclipse 3.4 was built using the Carbon Libraries.

Eclipse 3.5 comes in 2 flavours now (actually, 3, but only 2 32 bit flavours). There’s the original Carbon Framework version, and the shiny new Cocoa Framework version. The Cocoa Framework is the newer OSX programming framework and the good news is, the line numbers, breakpoint markers and code folding icons all scroll correctly with Eclipse 3.5 Galileo on 10.5.5, 10.5.6 and 10.5.7.

So if you’re on OSX Leopard, 10.5.6 or above and having issues with Eclipse, I highly recommend Galileo Eclipse 3.5 which was released on June 24 (though I’ve been using a release candidate for a month or so now with no issues).