OpenCCM - Installation Guide

Table of Contents

Availability

Requirements

To work correctly, OpenCCM has the following mandatory requirements:

  • Any Windows or Unix-like system (including Linux, Mac OS X and CYGWIN).
  • A Java Development Kit : versions 1.3, 1.4, or 5.0 are supported.
  • The Apache Ant project (http://ant.apache.org/), version 1.6 and above.
  • A full Java CORBA 2.4 compliant product, see currently supported CORBA products.
  • Please note that Mac OS X users should use the provided Java Framework from MacOS X updates. Make sure to have the latest JavaVM update.

Extra Requirements

You may have to provide the following extra requirements:

Fully Supported Configurations

Currently, OpenCCM was successfully tested on the following configurations:

ORB name and releaseOperating systemJava compiler
Borland Enterprise Server 5.0.2 for JavaLinux SUN JDK 1.3.1
Borland Enterprise Server 5.0.2 for JavaWindows SUN JDK 1.3.1
Borland Enterprise Server 5.2 for JavaWindows XP SUN J2SDK 1.4.1-r_02
JacORB 2.1Linux SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
JacORB 2.1Windows XP SUN J2SDK 1.3.1_03
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
JacORB 2.1MacOS XApple Java Framework 1.4.2
JacORB 2.2Linux SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
JacORB 2.2Windows XP SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
JacORB 2.2MacOS XApple Java Framework 1.4.2
OpenORB 1.2.1Linux SUN JDK 1.3.1
SUN J2SDK 1.4.0
OpenORB 1.2.1SolarisSUN JDK 1.3.1
OpenORB 1.2.1Windows XP SUN JDK 1.3.1
SUN J2SDK 1.4.0
SUN J2SDK 1.4.1-r_02
OpenORB 1.3.0Linux SUN JDK 1.3.1
SUN JDK 1.3.1_03
SUN JDK 1.3.1_04
SUN J2SDK 1.4.0
SUN J2SDK 1.4.0_01
SUN J2SDK 1.4.1
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
OpenORB 1.3.0Windows 2000 SUN JDK 1.3.1_03
SUN J2SDK 1.4.0
SUN J2SDK 1.4.2
OpenORB 1.3.0Windows XP SUN JDK 1.3.1
SUN JDK 1.3.1_03
SUN JDK 1.3.1_04
SUN J2SDK 1.4.0
SUN J2SDK 1.4.0_01
SUN J2SDK-1.4.1
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.1-r_02
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
OpenORB 1.3.0MacOS XApple Java Framework 1.4.2
OpenORB 1.3.0SolarisSUN JDK 1.3.1
OpenORB 1.3.1Linux SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
OpenORB 1.3.1Windows XP SUN JDK 1.3.1
SUN J2SDK 1.4.0
SUN J2SDK-1.4.1
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
OpenORB 1.3.1MacOS XApple Java Framework 1.4.2
OpenORB 1.4.0-BETA1Linux SUN J2SDK 1.4.0
Blackdown J2SDK 1.4.1
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
OpenORB 1.4.0-BETA1Windows XP SUN J2SDK 1.4.0
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.1-r_02
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
OpenORB 1.4.0-BETA1MacOS XApple Java Framework 1.4.2
ORBacus 4.1.0 for JavaLinux SUN JDK 1.3.1
SUN JDK 1.3.1_03
SUN JDK 1.3.1_04
SUN J2SDK 1.4.0
SUN J2SDK 1.4.0_01
Blackdown J2SDK 1.4.1
SUN J2SDK 1.4.1
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.1_03
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
ORBacus 4.1.0 for JavaWindows 2000 SUN JDK 1.3.1
SUN JDK 1.3.1_03
SUN J2SDK 1.4.0
SUN J2SDK 1.4.2
ORBacus 4.1.0 for JavaWindows XP SUN JDK 1.3.1
SUN JDK 1.3.1_03
SUN JDK 1.3.1_04
SUN J2SDK 1.4.0
SUN J2SDK 1.4.0_01
SUN J2SDK 1.4.1
SUN J2SDK 1.4.1_01
SUN J2SDK 1.4.1-r_02
SUN J2SDK 1.4.2
ORBacus 4.1.0 for JavaLinux Familiar Blackdown 1.3.1
ORBacus 4.1.0 for JavaWinCE 2.x and 3.0 JVM J9 IBM
ORBacus 4.1.0 for JavaSolarisSUN JDK 1.3.1

Thank you to report to the OpenCCM community mailing list any other configurations where you have successfully tested OpenCCM.

Distribution

Extracting the contents of the OpenCCM archive

  • On a Unix like system:

    Execute the following commands in a shell window to extract the contents of the OpenCCM archive:

    1. Uncompress the archive file:

      $ gunzip OpenCCM-0.9.0.tar.gz
    2. Untar the archive file:

      $ tar xvf OpenCCM-0.9.0.tar
  • On a Microsoft Windows system, you can use a tool such as WinZip to extract the contents of the OpenCCM archive.
  • On a Apple Mac OS X system, you can use your favorite tool to extract the contents of the OpenCCM archive.

WinZip is a registered trademark of WinZip Computing, Inc.

The contents of the OpenCCM archive

The OpenCCM archive contains the following modules :

DirectoryModuleContents
benchmarkGuide
browserGuide
ccm_explorerGuideContents
coach_tracingGuideContents
comancheGuideContents
corbaGuideContents
dciGuideContents
emf_emsGuide
examplesGuideContents
explorerGuideContents
launcherGuideContents
microccmGuide
openccmGuideContents
packaging_assembling_toolGuideContents
pdaGuideContents
productionGuideContents
pssGuideContents
umlGuideContents
utilsGuideContents
webGuide

Using the CVS repository

An up-to-date version of these instructions can be found on the forge website.

This project's CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set.

The whole platform can be downloaded by checking out the CVS. When prompted for a password for anonymous, simply press the Enter key.

cvs -d:pserver:anonymous@cvs.forge.objectweb.org:/cvsroot/openccm login
        
cvs -z3 -d:pserver:anonymous@cvs.forge.objectweb.org:/cvsroot/openccm co -dP .
        

A full description of all modules provided on this CVS repository can be found on the Modules Guide page.

Configuration Instructions

To configure and compile OpenCCM, ensure you fill the requirements section.

Then configuring OpenCCM requires :

  1. Check if the JAVA_HOME shell variable correctly points the JDK you will use.

  2. Go into the OpenCCM core module directory, just do (on Unix or Windows systems):

    $ cd OpenCCM-0.9.0/openccm
  3. Start a first Ant process to initialize setting files:

    $ ant

    As a result, the build.properties file is generated in the current OpenCCM core module directory.

  4. Edit the generated build.properties file and set the following variables:

    VariableDescriptionDefaultMandatory
    coach_tracing.neededThis is a switch to activate the COACH Tracing build.falseNo
    pss.neededThis is a switch to activate the Persistent State Service build.falseNo
    uml.neededThis is a switch to activate the UML module build.falseNo
    ORB.nameThe name of the ORB product used to compile and execute OpenCCM.

    Select one ORB name in the proposed list by uncommenting it.
    Yes
    ORB.home.dir The directory where the used ORB product is installed. Yes
    NS.home.dir The directory where the used CosNaming Service is installed.

    Default value is ORB.home.dir.

    Must be set when the used CosNaming Service is installed in a directory different that the ORB one.
    No
    trader.home.dir The directory where the used CosTrading Service is installed.

    Default value is ORB.home.dir.

    Must be set when the used CosTrading Service is installed in a directory different that the ORB one.
    No
    OTS.home.dir The directory where the used CosTransaction Service is installed.

    If not set then OpenCCM will not be able to use the CosTransaction Service.
    externals/ots No
    cpp.compiler The path to an installed C/C++ preprocessor.

    By default, if not set then OpenCCM compilers will use their own Java-based preprocessor.
    No
    pf.name The name of the Persistent Framework used

    Only required for compiling and running PSS demonstrations.
    jdo No
    jdbc.driver.jar The full path to the JDBC driver Jar file used to access your database.

    Only required for compiling and running PSS demonstrations.
    No
    JDO.impl.name The name of the JDO product used by the OpenCCM Persistent State Service.

    Only required for compiling and running PSS demonstrations.
    kodo No
    JDO.impl.version The version of the JDO product used by the OpenCCM Persistent State Service.

    Only required for compiling and running PSS demonstrations.
    kodo-3.0.3 No
    jdo.home.dir The directory where the used JDO implementation is installed.

    Only required for compiling and running PSS demonstrations.
    No

    Warning: On Windows systems, directories must be separated by '/' instead of '\', e.g. write c:/dev/OpenCCM instead of c:\dev\OpenCCM.

    Warning: Directories containing space characters are not supported for the moment (see bug #100551). In the same way, clear any space characters at the end of path defining properties.

Compilation Instructions

Compiling OpenCCM

After configurating OpenCCM, just restart the ANT process:

$ ant

Compilation Results

After compilation, a build directory is created. It contains the following directories and files:

DirectoryFileDescription
ant/ All ANT setting files.
bin/ All generated binaries.
class/ All compiled Java classes.
dependencies/ All dependencies issued from DCI's compilation.
doc/ All generated documentation.
dtd/ All XML DTD files.
externals/ All external libraries used for building only.
fractal/ All generated Fractal files.
idl/ All OpenCCM and OMG IDL files.
jar/ All OpenCCM Java archives generated separately by packages.
java/ All OpenCCM generated Java files.
lib/ All OpenCCM merged libraries for usage.
resources/ All OpenCCM resource files (e.g. icons and config files).
templates/ All generator template files.
xml/ All XML files used by launcher, explorer, apollon or services.

Installation Instructions

Installing OpenCCM

Execute the following command to install OpenCCM:

$ ant -Ddist.dir=<directory> distrib

Where <directory> is the path where you want to build the binary distribution.
Once the operation is finished, read the README file located in the distribution directory.

Installation Results

After installation, the following directories and files are created in the given dist.dir directory:

DirectoryFileDescription
ant/ All ANT setting files.
bin/ All OpenCCM binaries and scripts.
See OpenCCM User's Guide for more information.
 envi_OpenCCM.batThe environment file for using OpenCCM from Windows shells.
 envi.OpenCCM.shThe environment file for using OpenCCM from Unix shells (sh, bash, etc).
 envi.OpenCCM.cshThe environment file for using OpenCCM from Unix C-shells (csh, tcsh, etc).
doc/ All OpenCCM documentation.
dtd/ All OpenCCM XML DTD files.
externals/ All external Java archives.
idl/ All OpenCCM OMG IDL files.
lib/ All OpenCCM needed libraries.
resources/ All resource files (e.g. icons).
templates/ All generator template files.
xml/ All XML files for the launcher or the GUIs.

Installation Instructions for Windows CE / Linux PDA

Please find detailed instructions in the PDA Guide.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster | Last modified at 2005-07-07 02:04 PM