All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en-US.Chapter-Setup.xml Maven / Gradle / Ivy

There is a newer version: 7.1.13
Show newest version
<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "User_Guide.ent">
%BOOK_ENTITIES;
]>

<chapter id="setup">

	<title>Setup</title>

	<section id="preinstall_requirements_and_prerequisites">
		<title>Pre-Install Requirements and Prerequisites</title>
		<para>Ensure that the following requirements have been met before continuing with the install.</para>
		<section id="hardware_requirements">
			<title>Hardware Requirements</title>
			<para>&THIS.RA; Resource Adaptor does not change  &THIS.PLATFORM; JAIN SLEE requirements.</para>
		</section>
		<section id="software_prerequisites">
			<title>Software Prerequisites</title>
			<para>The RA requires &THIS.PLATFORM; JAIN SLEE properly set.</para>		
		</section>
	</section>	
	
	<section id="source_code">
		<title>&THIS.PLATFORM; JAIN SLEE &THIS.RA; Resource Adaptor Source Code</title>
		
		<section id="release_source_building">
			<title>Release Source Code Building</title>
			<procedure>
				<step>
				    <title>Downloading the source code</title>
				    <important>
				    	<para>Git is used to manage Restcomm JAIN SLEE source code. Instructions for downloading, installing and using Git can be found at <ulink url="http://git-scm.com/" /></para>
				    </important>
				    <para>Use Git to checkout a specific release source, the Git repository URL is &THIS.SOURCE_CODE_URL; , then switch to the specific release version, lets consider &THIS.VERSION;.</para>
				    <programlisting>
				    [usr]$ git clone &THIS.SOURCE_CODE_URL; restcomm-jain-slee-&THIS.PACKAGE_NAME;
				    [usr]$ cd restcomm-jain-slee-&THIS.PACKAGE_NAME;
				    [usr]$ git checkout tags/&THIS.VERSION;
					</programlisting>
  				</step>
				<step>
				    <title>Building the source code</title>
				    <important>
				    	<para>Maven 2.0.9 (or higher) is used to build the release. Instructions for using Maven2, including install, can be found at <ulink url="http://maven.apache.org" /></para>
				    </important>
				    <para>Use Maven to build the deployable unit binary.</para>
				    <programlisting>
				    [usr]$ cd resources/&THIS.RA.DIRNAME;
				    [usr]$ mvn install
				    </programlisting>
				    <para>Once the process finishes you should have the <literal>deployable-unit</literal> jar file in the <filename>target</filename> directory, if &THIS.PLATFORM; JAIN SLEE is installed and environment variable JBOSS_HOME is pointing to its underlying &JEE.PLATFORM; directory, then the deployable unit jar will also be deployed in the container.</para>
  				</step>
			</procedure>
		</section>
		
		<section id="master_source_building">
			<title>Development Master Source Building</title>
			<para>Similar process as for <xref linkend="release_source_building"/>, the only change is the Git reference should be the <literal>master</literal>. The <literal>git checkout tags/&THIS.VERSION;</literal> command should not be performed. If already performed, the following should be used in order to switch back to the master:</para>
		    <programlisting>
		    [usr]$ git checkout master
			</programlisting>
		</section>

	</section>
	
	<section id="install">
		<title>Installing &THIS.PLATFORM; JAIN SLEE &THIS.RA; Resource Adaptor</title>
		<para>To install the Resource Adaptor simply execute provided ant script <filename>build.xml</filename> default target:</para>
		<programlisting>
		[usr]$ ant
		</programlisting>
		<para>The script will copy the RA deployable unit jar to the <literal>default</literal> &THIS.PLATFORM; JAIN SLEE server profile deploy directory, to deploy to another server profile use the argument <literal>-Dnode=</literal>.</para>
	</section>
	
	<section id="uninstall">
		<title>Uninstalling &THIS.PLATFORM; JAIN SLEE &THIS.RA; Resource Adaptor</title>
		<para>To uninstall the Resource Adaptor simply execute provided ant script <filename>build.xml</filename> <literal>undeploy</literal> target:</para>
		<programlisting>
		[usr]$ ant undeploy
		</programlisting>
		<para>The script will delete the RA deployable unit jar from the <literal>default</literal> &THIS.PLATFORM; JAIN SLEE server profile deploy directory, to undeploy from another server profile use the argument <literal>-Dnode=</literal>.</para>
	</section>			
	
</chapter>





© 2015 - 2024 Weber Informatics LLC | Privacy Policy