JBossAS source has been migrated to subversion. Please see the following link:
The remainder of this page is kept only for historical purposes.
Building a JBoss Release
The easiest way to build a released version of JBoss is to obtain the source bundle from the SourceForge downloads section that corresponds to the version of interest.
The source bundles are jboss-3.2.3-src.tar.gz or jboss-3.2.3-src.tar.bz2. Just download one of these, unpack it, cd to the jboss-3.2.3-src/build directory and execute the build.sh/build.bat script. The release dist will be created under jboss-3.2.3-src/build/output
Building a Release From CVS
The releases are tagged using a tag of the form JBoss_X_Y_Z where X=major version number, Y=minor version number, Z=patch version number. Each branch also has a toplevel module name tied to the branch: jboss-3.0 for 3.0.x release, jboss-3.2 for 3.2.x releases, etc. The current development branch in the head branch and has a module alias of jboss-head.
Example of building the 3.2.2 release
cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/jboss co -r JBoss_3_2_3 jboss-3.2 cd jboss-3.2/build build
Building an Interim Release
Example of building the latest 3.2 branch
cvs -z3 -d:pserver:email@example.com:/cvsroot/jboss co -r Branch_3_2 jboss-3.2 cd jboss-3.2/build build
Example of building the latest main branch
cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/jboss co jboss-head cd jboss-head/build build