I've removed the embedded Ant in HEAD. I rewrote build.bat and build.sh to call a separately installed Ant. Instructions will be given on the command-line if Ant cannot be found.
Peter, please test build.sh on Unix. I hope I got the whole thing right.
It compiles when ANT_HOME is defined and valid, and gives the instructions when it's not defined. Do you need more extensive test run?
Peter -- Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>