|
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 release | Operating system | Java compiler |
Borland Enterprise Server 5.0.2 for Java | Linux |
SUN JDK 1.3.1
|
Borland Enterprise Server 5.0.2 for Java | Windows |
SUN JDK 1.3.1
|
Borland Enterprise Server 5.2 for Java | Windows XP |
SUN J2SDK 1.4.1-r_02
|
JacORB 2.1 | Linux |
SUN J2SDK 1.4.2
SUN J2SDK 1.5.0
|
JacORB 2.1 | Windows XP |
SUN J2SDK 1.3.1_03
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
|
JacORB 2.1 | MacOS X | Apple Java Framework 1.4.2 |
JacORB 2.2 | Linux |
SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
|
JacORB 2.2 | Windows XP |
SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
SUN J2SDK 1.5.0
|
JacORB 2.2 | MacOS X | Apple Java Framework 1.4.2 |
OpenORB 1.2.1 | Linux |
SUN JDK 1.3.1
SUN J2SDK 1.4.0
|
OpenORB 1.2.1 | Solaris | SUN JDK 1.3.1 |
OpenORB 1.2.1 | Windows XP |
SUN JDK 1.3.1
SUN J2SDK 1.4.0
SUN J2SDK 1.4.1-r_02
|
OpenORB 1.3.0 | Linux |
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.0 | Windows 2000 |
SUN JDK 1.3.1_03
SUN J2SDK 1.4.0
SUN J2SDK 1.4.2
|
OpenORB 1.3.0 | Windows 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.0 | MacOS X | Apple Java Framework 1.4.2 |
OpenORB 1.3.0 | Solaris | SUN JDK 1.3.1 |
OpenORB 1.3.1 | Linux |
SUN J2SDK 1.4.2
SUN J2SDK 1.4.2_03
|
OpenORB 1.3.1 | Windows 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.1 | MacOS X | Apple Java Framework 1.4.2 |
OpenORB 1.4.0-BETA1 | Linux |
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-BETA1 | Windows 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-BETA1 | MacOS X | Apple Java Framework 1.4.2 |
ORBacus 4.1.0 for Java | Linux |
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 Java | Windows 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 Java | Windows 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 Java | Linux Familiar |
Blackdown 1.3.1
|
ORBacus 4.1.0 for Java | WinCE 2.x and 3.0 |
JVM J9 IBM
|
ORBacus 4.1.0 for Java | Solaris | SUN 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
WinZip is a registered trademark of WinZip Computing, Inc.
The contents of the OpenCCM archive
The OpenCCM archive contains the following modules :
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 :
-
Check if the JAVA_HOME shell variable correctly points the JDK you will use.
-
Go into the OpenCCM core module directory, just do (on Unix or Windows systems):
$ cd OpenCCM-0.9.0/openccm
-
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.
-
Edit the generated build.properties file
and set the following variables:
Variable | Description | Default | Mandatory |
coach_tracing.needed | This is a switch to activate the COACH Tracing build. | false | No |
pss.needed | This is a switch to activate the Persistent State Service build. | false | No |
uml.needed | This is a switch to activate the UML module build. | false | No |
ORB.name | The 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:
Directory | File | Description |
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:
Directory | File | Description |
ant/ | | All ANT setting files. |
bin/ | | All OpenCCM binaries and scripts.
See OpenCCM User's Guide for more
information. |
| envi_OpenCCM.bat | The environment file for using OpenCCM from Windows shells. |
| envi.OpenCCM.sh | The environment file for using OpenCCM from Unix shells (sh, bash, etc). |
| envi.OpenCCM.csh | The 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.
|