BuildDoctor

Build Doctor

Continuous Integration, Delivery and Devops Consulting

Contact Us

(+44) 207 183 0323
hello@build-doctor.com
@builddoctor

Get in touch!

Tag Archives: ant

All build tools began with Make

Posted on by Julian Simpson

(image taken from slashcrisis’ photostream) Today I’m just going to share a pet hate: poor target names in build files. Yes, that’s scratching the surface: there’s plenty of other things to get wrong in your build. But today’s gripe is target names. Here’s an anonymised example from a real project: <?xml version=”1.0″ ?><project name=”project” default=”tests” [...]

Oh lord, It’s hard to parse build files

Posted on by Julian Simpson

Nat Pryce left a comment on my post A real BuildRefactoring, in the wild: IntelliJ can do some simple refactorings of Ant scripts: extractproperty, rename target, rename property, etc. But refactoring of Ant and Nant is very difficult because they have noconsistent syntax or semantics. They are just quick hacks that havegrown kludge by kludge [...]

Ant Best Practices: The Clean Test

Posted on by Julian Simpson

. Last time, we discussed the ZipFileSet. Today’s article is much more important – it’s a subject very close to my heart: only dong necessary work. If you don’t execute the clean target, (do tell me your build has a clean target and you didn’t change any of files in your project, what should happen? [...]

Ant Best Practices: Use ZipFileSet

Posted on by Julian Simpson

(image taken from the superbly named MasochismTango’s photostream) Welcome to the lucky thirteenth edition of Ant Best Practices. You probably guessed this one: Use the ZipFileSet type when you make a zip file in Ant. This one slipped past me recently. We were working on a web project and the developers added a cache-busting feature [...]

Ant Best Practices: Use Ant as the Least Common Denominator

Posted on by Julian Simpson

(image taken from Clearly Ambiguous’ Photostream) We’re back to the best practices this weekend with 12 of 15: Use Ant as the Least Common Denominator. What are we talking about? The answer is here. What does the common denominator mean? There’s generally a conflict around this on software projects. I’ll explain: The developer wants to [...]

Ant Best Practices: Use version control

Posted on by Julian Simpson

(image taken from Rocket Raccoon’s photostream) Amazingly, it’s article 11 of 15 in my series on Ant Best Practices. Today’s practice is ‘Use version control’ and I can’t help but wonder if this one hasn’t dated a little. When the original article was written, Subversion didn’t exist, Perforce wasn’t free, and most people used CVS. [...]

NAnt vs Ant: locations (NAnt Rant)

Posted on by Julian Simpson

(Image taken from Nesster’s Photostream) I think it was 2002 when Dan North took me under his wing and showed me the location attribute of Ant. That was then. Now, I’m doing a lot of .NET build engineering. And I’m dying for this feature. Here’s an Ant build to demonstrate: <project default=”properties”> <target name=”properties”> <mkdir [...]

The Build Doctor Ltd, Suite 17189, Lower Ground Floor, 145-157 St John Street, London, EC1V 4PW

© Build Doctor 2007-2012