EXAMPLES

SUMMARY

Each example can be built individually. It is also possible to build a number of examples at the same time.


Building all examples in a posix environment

The examples can be built together using the various makefiles found in the examples directory of the installed version of Vortex OpenSplice when building in a posix environment, using the following commands:

Before running any of the above commands it is necessary to set your environment using the release.com file found in the the Vortex OpenSplice installation. When building the CORBA examples using the above makefiles the ACE_ROOT and ODBCHOME environment variables must be set when building the CORBA C++ examples and the ACE_ROOT/lib directory must be added to the LD_LIBRARY_PATH. When building the CORBA Java examples the JACORB_HOME environment variable must be set.

Building examples in Visual Studio

The examples can be built in Visual Studio using solutions files provided.

After installing Vortex OpenSplice on Windows, from the Vortex Launcher, go to the Examples pane and select an example solution file to open. There are 6 options:

When building the CORBA examples using the CORBA C++ Examples option the ACE_ROOT and ODBCHOME environment variables must be set.

Building Java examples on Windows

Batch files are provided to build the Java examples in a windows environment For Java5 maven is used to build the examples. These files can be found in the examples directory of the installed Vortex OpenSplice. Start a Vortex OpenSplice command prompt and simply run

If building the CORBA Java examples the JACORB_HOME environment variable must be set.