Show Table of Contents
Appendix A. Book Example Installation
The book comes with the source code for the examples discussed in the book. You can download the examples zip file from http://www.redhat.com/docs. Unzipping the example code archive creates a
server-config-guide directory. This is the examples directory referred to by the book.
The only customization needed before the examples may be used is to set the location of the JBoss server distribution. This may be done by editing the
examples/build.xml file and changing the jboss.dist property value. This is shown in bold below:
<project name="JBoss book examples" default="build-all" basedir=".">
<!-- Allow overrides from a local properties file -->
<property file="ant.properties" />
<!-- Override with your JBoss server bundle dist location -->
<property name="jboss.dist" value="${basedir}/../../../../jboss-eap-4.3/jboss-as" />
<property name="jboss.deploy.conf" value="default" />
<property name="jboss.deploy.dir" value="${jboss.dist}/server/${jboss.deploy.conf}/deploy" />
...
...
or by creating an
.ant.properties file in the examples directory that contains a definition for the jboss.dist property. For example:
jboss.dist=/usr/local/jboss-eap-4.3/jboss-as
Part of the verification process validates that the version you are running the examples against matches what the book examples were tested against. If you have a problem running the examples first look for the output of the validate target.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.