there is a "client" directory in your jboss installation.
It contains nealry all needed libs for your client. Needles to say, that you do not need all of them, except you are using all kind of possible clients =)
Additionally there are some libs, that are not in this folder:
- ejb3-persistence.jar -> lib/
- hibernate3.jar -> lib/
- hibernate-annotations.jar -> lib/
- jboss-remoting.jar -> lib/
I think that all.
and what jar´s do I need to build the server?
There's a build.bat/build.sh in the root of the JBossAS/build project, and those scripts will execute to create and populate another project called "thirdparty", which in turn obtains all JARs needed to build JBoss.
Sounds complicated, but it's automated. Can be as easy as checking out JBossAS from the desired TRUNK/Branch/Tag and running the batch/shell script.