The tools.jar was not added to the classpath, however. So add the %JAVA_HOME%\lib\tools.jar to the classpath and it schould work.
Seems to be ok, but still doesn't work!
The paths and tools.jar exist, so this is not the reason.
What else could it be?
Hmm, which ant version have you installed ?
I'm using debian SID, so I'm using ant v1.5.4-3
I have tested it under Windows 2000 SP4 with j2sdk1.4.2 and it worked. I have startet the build.bat. This script uses the ant version within the tree.
I have tried it now under RedHat 9.0 with j2sdk1.4.2_02 from Sun and it compiled well.
I only started the build.sh in the build directory.
The created instance of Jboss works like a charm (only booting and web-console tested).