I just checked out jboss-head from the trunk; it does not build; and I had to add these libraries to the thirdparty directory to make everything compile.
apache-wss4j/lib/wss4j.jar
apache-xmlsec/lib/xmlsec.jar
bouncycastle/lib/bcprov-jdk14-124.jar
sleepycat/lib/je.jar
qdox/lib/qdox.jar
The qdox.jar is qdox-1.4.jar, and in the case of bouncycastle's encryption library, I also changed the corresonding entry in the libraries.ent file.
There are additional steps.
The tools/lib/optional.jar needs to be removed to stop ant from complaining about version incompatibility between core and optional.
In the remoting module, the build.xml needs to be modified to include apache.axis.classpath, and in the SOAPServerInvoker class, the compiler couldn't find SOAPBodyElementImpl, so I changed the references to SOAPBodyElement.
Is this what everyone is doing to get JBoss 4.0 compiled? Or are the required libraries checked into some place else?
jboss-head is often in flux. If it does not build you either have grabbed snapshot that is being modified or you did not check it out correctly. Its baseline status requires nothing other than running the jboss-head/build/build.xml script.