Archive for August, 2007

18 months in India

Monday, August 27th, 2007

I am about to head back to India for work. Before coming to Canada I had worked in ThoughtWorks’ Bangalore office for 18 months. Anyone who knows me has probably heard me rant at length about how much I enjoyed being there. This video is a (small) attempt to capture some of the highlights of my time there.

This was created with the new iMovie 2008 - which is one of the most beautifully designed pieces of software I have ever used. The whole thing took me about 2 hours, and it is a testament to the power and ease of the software that it made me stop procrastinating and make this video. It is highly recommended. It is also one of many reasons that I love my Mac.

Ultimate Frisbee — Crash and Burn

Thursday, August 16th, 2007

I added some photos of our Ultimate frisbee team to flickr. It’s been a fun season — even if the team name has proven to be somewhat apt at times. One of the nice things about Ultimate has been the spirit of the game — you call your own fouls, you call yourself out or in, there is no referee, and it makes for a fun game with little of the aggressive attitude found in similar sports.

Ant unit test forking behaviour

Wednesday, August 15th, 2007

There is a long-standing issue with the way that ant’s JUnit task runs tests. The default behaviour is to fork off a new JVM for each test - which is *very* slow, particularly if you are doing something like GWT Unit Tests.

In this case, the whole GWT environment bootstrap (about 20 seconds on our cruise box) happens once per test. Ouch.Fortunately there is a solution, in ant 1.6.2 and above - use the forkMode attribute :

<junit fork="true" forkMode="once" ...

See the junit tag documentation for more details :

http://ant.apache.org/manual/OptionalTasks/junit.html