My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: ant, build, scripts
Feeds:
People details
Project owners:
  douglas.bullard

From working on many projects, I've extracted a set of “master” build scripts that encapsulated complexity. Complex J2EE projects can now have individual Ant scripts that are only 5-10 lines long, but retain all their functionality.

This was done by treating Ant scripts like objects, allowing child scripts to “inherit” functionality from the parents. By picking the right “parent” script to inherit from, a child script only needed code unique to that application.

This ws the subject of my JavaOne 2009 paper (TS-4166) entitled “Object-oriented Ant Scripts for the Enterprise”.

These scripts are designed to be used as Subversion Externals, but if Subversion's not your source control system, you can always just copy them.









Hosted by Google Code