BuildDoctor

Build Doctor

Continuous Integration, Delivery and Devops Consulting

Contact Us

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

Get in touch!

Ant Best Practices

Posted on by Julian Simpson

Ant Best Practices

In 2003, Eric M. Burke published an article at OnJava called Top 15 Ant Best Practices. Are the practices still relevant? What has changed in the last 4 years? In this series I’ll be reviewing each one and trying to find out.

1 of 15: Adopt consistent style
2 of 15: Put the build file at the root of your project
3 of 15: Prefer a single buildfile
4 of 15: Provide good help
5 of 15: Provide a clean target
6 of 15: Manage dependencies with Ant
7 of 15: Define and reuse paths
8 of 15: Define proper target dependencies
9 of 15: Use properties for configurability
10 of 15: Keep the build process self contained
11 of 15: Use version control
12 of 15: Use Ant as the least common denominator
13 of 15: Use zipfileset
14 of 15: The clean test
15 of 15: Avoid platform-specific wrapper scripts

(Photo taken from 33mhz’s photostream)

About Julian Simpson

Founder and Editor of The Build Doctor. Drinks Flat Whites. View all posts by Julian Simpson →

9 Responses to Ant Best Practices

Julian says: May 18, 2008 at 10:48 pm

Jim and Evgeny: Thanks for your supportive comments! It’s encouraging!

Best,

Julian.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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

© Build Doctor 2007-2012