JBoss.orgCommunity Documentation

Chapter 2. Setup

2.1. Pre-Install Requirements and Prerequisites
2.1.1. Hardware Requirements
2.1.2. Software Prerequisites
2.2. JBoss Communications JAIN SLEE Google Talk Bot Example Source Code
2.2.1. Release Source Code Building
2.2.2. Development Trunk Source Building
2.3. Installing JBoss Communications JAIN SLEE Google Talk Bot Example
2.4. Uninstalling JBoss Communications JAIN SLEE Google Talk Bot Example

Ensure that the following requirements have been met before continuing with the install.

This section provides instructions on how to obtain and build the Google Talk Bot Example from source code.

  1. Downloading the source code

    Use SVN to checkout a specific release source, the base URL is ?, then add the specific release version, lets consider 2.4.0.FINAL.

    [usr]$ svn co ?/2.4.0.FINAL slee-example-google-talk-bot-2.4.0.FINAL
  2. Building the source code

    Important

    Maven 2.0.9 (or higher) is used to build the release. Instructions for using Maven2, including install, can be found at http://maven.apache.org

    Use Maven to build the deployable unit binary.

    				    [usr]$ cd slee-example-google-talk-bot-2.4.0.FINAL
    				    [usr]$ mvn install
    				    

    Once the process finishes you should have the deployable-unit jar file in the target directory, if JBoss Communications JAIN SLEE is installed and environment variable JBOSS_HOME is pointing to its underlying JBoss Enterprise Application Platform directory, then the deployable unit jar will also be deployed in the container.

    Important

    This procedure does not install the Example's dependencies

To install the Example simply execute provided ant script build.xml default target:

		[usr]$ ant
		

The script will copy the Example's deployable unit jar to the default JBoss Communications JAIN SLEE server profile deploy directory, to deploy to another server profile use the argument -Dnode=.

To uninstall the Example simply execute provided ant script build.xml undeploy target:

		[usr]$ ant undeploy
		

The script will delete the Example's deployable unit jar from the default JBoss Communications JAIN SLEE server profile deploy directory, to undeploy from another server profile use the argument -Dnode=.