How To Build JBoss5
JBoss5 is in Beta 2 as of 2007-04-06, but some users would like to build it quickly. This guide provides a quick set of steps for building JBoss5 from source. The build branch is trunk, which contains the latest version used by developers.
Ant 1.6 or higher
Subversion Option 1
Subversion can be downloaded from http://subversion.tigris.org/project_packages.html. Subversion is not written in Java, but there are pre-built binaries for all the major systems. If using Fedora, you can install subversion with this command: yum install subversion. RHEL 4 ships with the Subversion client.
Subversion Option 2
If you are an eclipse user, Subclipse provides an alternative Subversion client. Instructions for installing Subclipse on Eclipse 3.x can be found: http://subclipse.tigris.org/install.html. For older versions of eclipse, refer to the Subclipse homepage: http://subclipse.tigris.org.
Open a command prompt/shell
cd $JBOSS5_BUILD_DIRECTORY (The directory you want to build JBoss5 in)
build.bat or ./build.sh (Should take awhile, 15 minutes or more)
Your new JBoss5 server can be found at: $JBOSS5_BUILD_DIRECTORY/trunk/build/output/jboss-5.0.0.Beta2
Test JSF 1.2 Sample Application
run.sh or run.bat
copy jsf12KickStart.war to $JBOSS5_BUILD_DIRECTORY/trunk/build/output/jboss-5.0.0.Beta2/server/default/deploy
Go to http://localhost:8080/jsf12KickStart (Test JSF 1.2 app should work!)
Note that the jsf12KickStart app will spit out some ERROR messages. If you look closely, these are really INFO messages. Because the app sends the messages via JDK 1.4 logging instead of Log4J, they look a little funny in JBoss.