December 19, 2008
(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 →
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 →