Apache Ant script reuse

by simpsonjulian on June 10, 2009

The Maven guys have got one thing (and others, I’m not being mean) right – we reinvent the wheel too much on Java projects.

Joe Schmetzer has an Ant Script Library. And Pascal here has had a crack at the problem of Ant Script reuse.

Seems a bit 2002-esque to write an Ant build from scratch these days.

Update: this tweet from JTF suggests another tool.


Share with the group:
  • Digg
  • del.icio.us
  • Facebook
  • DZone
  • LinkedIn
  • Slashdot
  • StumbleUpon

Related posts:

  1. Better Apache Ant Builds Abstract: We did two CITCON sessions here; Joe Schmetzer...
  2. Story: Daniel’s Continuous Integration System Daniel Spiewak gave us this great story for the Atlassian...
  3. Story: Rolling your own Thanks to Daniel Spiewak for this great story from the...
  4. Build Pattern: The Captive Build Tool Check your build tool into your version control system. Ideally...

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

{ 3 comments… read them below or add one }

1 Douglas Squirrel June 11, 2009 at 12:36 am

Grails seems to get this right. It dictates the file layout and provides canned targets for common tasks, as Maven does, but doesn’t try to maintain a dependency registry or overcomplicate your build with a maze of obscure configuration. It’s certainly nice to build and deploy without having written a line of build code.

2 simpsonjulian June 12, 2009 at 9:24 am

I think it’s the way forward. As Chris pointed out in the podcast I blogged yesterday, the build is becoming a first class citizen (well, I could name some organisations where it isn’t, but they already reap the problems that they’ve sown). When that happens, things tend to get fixed pretty quick.

3 Alex Honor June 16, 2009 at 1:44 am

The Maven guys understood the need for a standard life cycle. Given that, it is possible to create a template based Ant build environment. It’s all about adopting and adhering to a common convention that includes user-definable extension points.

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>

Previous post: Hudson on Ubuntu with Big Visible results in six steps

Next post: Continuous Integration and Release wisdom