Before you install the Open Media Interaction 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 Open Media Interaction Application Blocks
To work with the Open Media Interaction Application Blocks, you will need a compiler, such as the one delivered in the Java 2 Platform, Standard Edition, Development Kit (JDK) 1.4.x, from Sun Microsystems.
When you install the Open Media Interaction Application Blocks, the installation package creates the following folder structure:
<Install Location>
+---OpenMedia
: +---doc
: +---quickstart
: +---src
: :
+---com
: :
:
+---genesyslab
: :
:
:
+---omsdk
: :
:
:
:
+---applicationblocks
: :
:
:
:
:
+---connector
: :
:
:
:
+---mil
: :
:
:
:
:
+---applicationblocks
: :
:
:
:
:
:
+---haserver
: :
:
:
:
:
:
+---mediaserver
: :
:
:
:
:
:
:
:
+---extension
: :
:
:
:
:
:
:
+---ixn
: :
:
:
:
:
:
:
+---lca
: :
:
:
:
:
:
:
+---ucs
: :
:
:
:
+---qil
: :
:
:
:
:
+---applicationblocks
: :
:
:
:
:
:
+---monitoring
: :
:
:
:
:
:
:
+---getters
: :
:
:
:
:
:
:
+---listeners
Table 3.1: Folders That the Open Media Interaction Application Blocks Installation Package Creates
Folder |
Description |
<installation location> |
The folder where the application blocks are installed. |
OpenMedia |
Contains all open media interaction application block folders, and files to build your application blocks. |
doc |
Contains documentation about using the Application Blocks. |
quickstart |
Contains a High Availability Server application block. |
src |
Contains the application blocks' source files. |
omsdk |
Contains the Connector Application Block's source files. |
mil |
Contains the Media Server Application Blocks' source files (including those for the High Availability Server application block). |
qil |
Contains the Monitoring Application Blocks' source files. |
In order to compile and run, the compiler or the JVM needs access to the libraries of the Media and Queued 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 Open Media Interaction Application Blocks, you can use Ant with the build.xml file that is included at the root level of the Open Media 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 Open Media Application Blocks distribution.
The result is located in PROJECT_DST environment variable path.