I’ve just finished setting up trac for my subversion repository. trac is a very cool wiki / bug tracker / subversion repository browser from the nice people at edgewall.com. It’s also nice and easy to install from the FreeBSD ports collection: www/trac. It doesn’t work 100% right for me, because I have multiple projects in my repository. But for my limited personal use, it should be fine.
Day: September 3, 2005
Ant & JUnit
I’ve just been tripped up by ant & JUnit. I’m appalled. All the proposed solutions are both hackish and ugly. I don’t actually care about the intricacies of ClassLoaders. I just want a simple way to tell ant “junit is over here” so that my build and tests will work on whatever system I check out on. I don’t want to have to install stuff into the ant directory on each system. I already have
junit.jar in my codebase, and it should be able to use it.
I suppose I could get around it by writing a
build.sh which sets the CLASSPATH correctly, but I thought ant was supposed to avoid all that?
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 Eclipse at all before. Look for the heading Configuring a Remote Debugging Configuration in Eclipse, that’s where the useful bits start.