From the monthly archives:

March 2008

CruiseControl Enterprise Best Practices, Part 6: Scaling up

March 29, 2008

You just started out with Continuous Integration. You’re building your project in CruiseControl. Great. Now, it’s time you started to plan ahead. This post is about scaling up CruiseControl. The tool can scale up to many projects, but you have to know a few things.

The very first thing to do is make sure that you [...]

Read the full article →

New, shiny Rake support in Team City

March 27, 2008

You couldn’t pay me to run CruiseControl.rb now. Oh wait. You probably could.
Anyway, now that Team City has a ‘Rake Runner’, you can build your Ruby projects with Rake. It understands Test::Unit and Rspec test output as well. The runner gives you test timings, both for that build and a graph [...]

Read the full article →

New colourized Logger for Nant

March 26, 2008

Update: It was of course Eric Liu who wrote the logger. Stephen Chu wrote this adjacent post about Rails. Sorry, Eric and Stephen. Thanks to the people who left comments pointing this out.
I spent several years being sysadmin at one project. Possibly the most popular thing I ever did there [...]

Read the full article →

Ant Best Practices: Provide good help

March 23, 2008

This is the fourth post in my series of posts examining Eric M Burke’sTop 15 Ant Best Practices from December 2003. The last one I covered was ‘Prefer a single buildfile‘. Today’s is ‘Provide good help’. Eric starts by suggesting that you should make use of public targets to document the targets that [...]

Read the full article →

My article on Refactoring Ant Builds is published

March 23, 2008

The Pragmatic Programmers have just published the first volume of the ThoughtWorks Anthology! My article on Refactoring in Ant is included: I distilled my experiences fixing broken Ant builds for ThoughtWorks into a collection of refactorings that can be applied to a crufty build. You can buy PDF or paper copies via the [...]

Read the full article →

renaming multiple files in Perforce with the help of Ruby

March 19, 2008

Half an hour ago, I had about 60 files that had the same irritating prefix to the filename. I wanted to drop the prefix so the reader could see the significant portion of the filename first. There is no way that I would rename that many files by hand and not mess one [...]

Read the full article →

Ant Best Practices: Prefer a single buildfile

March 19, 2008

This is the third post in my series about Eric M Burke’s Top 15 Ant Best Practices from December 2003. Today’s practice is “Prefer a single buildfile”. To paraphrase Eric, it’s easier to understand a single file rather than a clever hierarchy of files. Having presided over several multi-file builds, I’m [...]

Read the full article →

Ant Best Practices: Adopt consistent style

March 17, 2008

In my first post reviewing Eric Burke’s Ant Best Practices article from 2003, we looked at putting the build file at the root of the project tree. I had a bee in my bonnet about that one; and so I skipped Eric’s first point, which is to adopt a consistent style.
The man had a [...]

Read the full article →

Graphing your CruiseControl build times with Gruff

March 16, 2008

There had been some concern on my last project about build times. My erstwhile colleague Ben started graphing the builds on a sheet of paper and posting it in the kitchen so everybody in the team could see it. When the sheet fell of the wall and the cleaners threw it away, I [...]

Read the full article →

Antcall is evil

March 13, 2008

Antcall is evil. You’re probably just trying to figure out how to deal with the build you’ve inherited. But trust me on this one. Antcall will hurt you. Use Macrodef. If you use Eclipse you can even complete on macrodefs that you create. How nice is that?. Anyway, read [...]

Read the full article →