Before you install the Agent Application Blocks, it is important to review the software requirements and the folder structure in which the block builds.
Software
Requirements
Folder Structure
Environment Setup
Build the Agent Application Blocks
To work with the Agent Application Blocks, you will need a compiler, such as the one delivered in the Java 2 Platform, Standard Edition, Development Kit (JDK), version 1.4.x, from Sun Microsystems.
When you install the Agent Application Blocks, the installation package creates the following folder structure:
<Install Location>
+---Agent
: +---src
: : +---com
: : : +---genesyslab
: : : : +---ail
: : : : : +---applicationblocks
: : : : : : +---agent
: : : : : : +---connector
: : : : : : +---openmedia
: : : : : : : +---simplehandling
: : : : : : : +---complexhandling
: : : : : : +---perftester
: : : : : : : +---multimedia
: : : : : : : +---voice
: : : : : : +---server
: +---doc
+---thirdparty
Table 2.1: Folders That the Agent Application Blocks Installation Package
Creates
Folder |
Description |
<installation location> |
The folder where the application blocks are installed. |
Agent |
Contains all agent application block folders, and files to build your application blocks. |
src |
Contains the application blocks' source files. |
|
Contains the Connector Application Block's source files. |
|
Contains the Agent Application Block's source files. |
|
Contains the Open Media Application Blocks' source files. |
|
Contains the Open Media Simple Handling Application Block's source files. |
|
Contains the Open Media Simple Handling Application Block's source files. |
|
Contains the perftester applications' source files. |
thirdparty |
Contains Third Party |
In order to compile and run, the compiler or the JVM needs access to the libraries of the Agent Interaction Layer. They are located in the lib/ subdirectory of the Interaction SDK (Java) product installation directory.
Set the following environment variables:
To build the Agent Application Blocks, you can use Ant with the build.xml file that is included at the root level of the Agent Application Blocks distribution, launch, according to your Operating System, ant -f build.xml or ant that takes default build.xml file included,
or
You can launch build.bat for the Windows(TM) Operating System or build.sh for the Unix Operating System. These files are included at the root level of the Agent Application Blocks distribution.
The result is located in PROJECT_DST environment variable path.