Some
weeks months ago I finally got my hands on the
ThoughtWorks Anthology and got immediately hooked on one of the featured essays called 'Refactoring Ant Build Files' contributed by Julian Simpson aka the
build doctor. After absorbing and studying the provided catalogue of overall 24 refactorings, I spent some time to transform a few health-promoting ones to the
Phing universe. So the following post will outline six
five basic, but valuable Phing build file refactorings by showing the smelly example first, followed by the scentless one and a closing refactoring description.
Making build files 'first-class' codebase citizens
You might ask yourself if there even is any need to refactor and care about mostly poorly treated project artifacts like build files. Well according to the bo ......