BCustom Tasks
The rsh-ant package also contains some custom tasks, mostly for build management. These tasks are useful for doing version numbering magic within a build file. But if you want to do some useful packaging, we recommend you look into
Craftsman
.
Allows you to read a version number out of a Java source file. This is useful because you can just set your module's version number in some Java constant and then use that number in your build--no property file needed.
Allows you to manipulate version numbers in your build file (like incrementing or decrementing the release).
You can dynamically create a Class-Path entry for a jar by supplying a number of paths to it.
EXTREMELY USEFUL for creating EJB jars that are cross-platform.