Jan 9th, 2010, 04:51 PM
Ubuntu 9.10, STS, and SVN
I discovered a crash scenario on Ubuntu 9.10, STS, and the SVN implementation available in Ubuntu 9.10. Specifically when I install the CollabNet SVN extension via the Spring Dashboard, the only SVN adapter available is the JavaHL JNI wrapper. Of course, Ubuntu 9.10 doesn't come with SVN pre-instaleld so after installing the Java binding to it, this would now work with checkouts. However, it would crash on every check in (I'm guessing this is more of an Ubuntu or JavaHL bug than an STS bug).
The way I got around this problem was to remove the STS-extension for CollabNet and go directly to Subclipse and pull down the SVNKit (Pure Java) SVN client, which solved the crashing problem.
It would be nice if the Spring distribution of CollabNet included the SVNKit SVN Client (for one, it's non-stop shopping for using SVN, and second to work around any JNI issues on specific platforms/versions).
A couple other of fun things on Ubuntu:
- Alt+Click on Ubuntu is used for window dragging, you need to goto System -> Preferences -> Windows to change the hot key for this (ie. Ctrl or the windows-logo key on your keyboard). Without doing this, navigating the task-oriented mylyn views doesn't work with alt+click.
- This is likely just a Mylyn issue, but the refactoring/move of a file while in a task-oriented view (ie. renaming a package or even moving one Java class to another package) gets to 99.% on the progress bar, and then Ubuntu bows-out and never regains focus on the window. The eclipse process is idle and never comes back. Killing Eclipse and restarting STS shows that everything completed as expected, which makes me think the bug happened in the Mylyn re-draw of the Project Explorer to show the new package/file. I have not tried to reproduce on vanilla Eclipse or non-Ubuntu systems, though I seem to remember from last year that Mylyn has some quirks with the task-oriented view and the Eclipse refactoring tools.