The Ant Best Practices Series

by simpsonjulian on April 2, 2008

(Photo taken from 33mhz’s photostream)

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

Did you like this? Please share it if you did!
  • Digg
  • del.icio.us
  • Facebook
  • DZone
  • Slashdot
  • StumbleUpon
  • DotNetKicks
  • E-mail this story to a friend!
  • Reddit

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

{ 3 trackbacks }

thecrumb.com » Quick Ant Update
10.21.08 at 3:10 pm
Awesome ANT resource
10.30.08 at 12:02 am
2008 in posts — The Build Doctor
12.30.08 at 3:32 pm

{ 4 comments… read them below or add one }

1

Jim Priest 05.10.08 at 3:22 pm

Great stuff - I’ve added your link to my Ant wiki of resources:

http://www.thecrumb.com/wiki/Ant

2

Evgeny 05.17.08 at 1:31 am

Just what the doctor prescribed!
Love this, going up into my bookmarks toolbar.

3

Julian 05.18.08 at 10:48 pm

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

Best,

Julian.

4

Abi 10.31.08 at 6:03 pm

Very useful.. clear and concise tips to avoid pitfalls.

Leave a Comment

You can 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>