Try using ant1.5 rather than the alpha.
Thanks Adrian. I just tried it using Ant 1.5, and had the exact same error message.
> Thanks Adrian. I just tried it using Ant 1.5, and had
> the exact same error message.
That is because you shouldn't use ant....
If i understand it correctly, jboss uses its own version of ant, that is not compatible with the standard ant. The build scripts do a rather good job of hiding this, except for one little nasty detail: the 'jboss ant' script still checks your home dir for an .antrc file and executes it. In my case, this set an enviroment variable ANT_HOME, pointing (of course) to a normal ant distribution, which does not understand the build.xml files in the jboss sources. I think (hope) that your problems are caused by something similar, so try to disable (de-install?) the normal ant.
I noticed that a lot people run into this kind of trouble. The point is that the quick-start guide _does_ warn that you should always use the build script to build; not just ant. However, it does not say explicitly that jboss use a different version of ant. I completely misinterpreted the warning; i assumed the scripts set all kind of variables, before calling ant. It never came into my mind there could be a different ant version in the jboss source.
Therefore, my suggestion would be to add paragraph to the quickstart guide, to make clear that the jboss build uses it's own version of ant, and does not work with a standard ant version.
Hope this helps.