GenJar is a specialized Ant task that builds jar files based on class dependencies rather than simply the contents of a directory.
GenJar was originally created by John W. Kohler (jake at riggshill.com).
Work is underway on GenJar2. GenJar2 will be a functional replacement of GenJar, but build file syntax will change. Some of the features of GenJar2 include:
Syntax consistent with Ant jar task
Replacement of GenJar with Ants
Replacement of GenJar with with Ants
BCEL for class dependency checking
The original GenJar branch will be maintained for as long as there is demand.