Posts tagged as:

build refactoring

Build Refactoring: Delete Boolean Property

December 19, 2008
Thumbnail image for Build Refactoring: Delete Boolean Property

(image taken from Kurtis Scaletta’s photostream)
Last time, you read about the extract target refactoring. Today, I’m going to show you one that I love to perform: delete boolean property. Have a look the smell first:

<project default="unit_tests">

<property name="junit.enabled" value="true" />

<target name="-check_junit_enabled">
<condition property="junit.really.enabled">
<and>
<equals [...]

Read the full article →

Build Refactoring: Extract Target

December 9, 2008

Your build files probably need some TLC. Sorry. It’s true. If you’re lucky enough to work on a project with clean code (and let’s face it, most codebases aren’t too pretty), then you’re even luckier to have a nice clean build. Wait! Don’t go getting upset, I can help you.

I’ll [...]

Read the full article →

some Phing refactorings

July 15, 2008

Raphael Stolt, a PHP developer and blogger has written an article called “Six valuable Phing build file refactorings”. He’s taken the refactorings from my ThoughtWorks Anthology article and translated to Phing, the PHP build tool (which is based on Ant). Sweet!
Link

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 →