Rules and Standards

Building and Launching a CAA V5 Use Case

How to set up the environment, compile and execute a use case

Use Case

Abstract

This article shows how to set up a CAA V5 build time environment for use case, compile one or several use case modules, then set up a run time environment, and finally launch the use case.


What You Will Learn With This Use Case

This use case is intended to show you how to set up a CAA V5 build time environment, by copying the CAA frameworks containing the use cases in a workspace root directory of your own, get the prerequisite frameworks of the CAA frameworks, and build a use case along with its prerequisites. Then, it shows how to set up a run time environment, and finally launch the use case.

[Top]

About the Operating Systems

The operating systems V5 currently supports are used thanks to an acronym in different directory paths to store dedicated files. These acronyms are:

Acronyms Operating Systems
intel_a Windows XP 32-bit
win_b64 Windows XP 64-bit
aix_a AIX 32-bit
aix_a64 AIX 64-bit
hpux_b HP-UX
solaris_a Solaris

A typical usage of these acronyms is to name the directory path where the executable code is stored. For example,

InstallRootDirectory\intel_a\code\bin

Where InstallRootDirectory is the directory where you install the V5 run time.

[Top]

The CAAUseCase Use Case

CAAUseCase is a generic name for the CAA V5 use cases. You should just replace CAAUseCase by the actual name of the CAA V5 use case module you want to build and launch. To leave your CD-ROM installation as a safe reference, create a separate root directory for the CAA use cases in which you can freely copy, build, run, and possibly modify the use cases. In the following, assume that InstallRootDirectory is the directory where you install the V5 run time and the CAA V5 CD-ROMs, and that ToolsRootDirectory is the directory where you install the CAA-RADE V5 CD-ROM.

[Top]

Step-by-Step with Windows

To build and launch a CAA use case, first set up the build time environment by copying the CAA frameworks containing the use cases in a workspace root directory of your own, and build the use case associated module(s) along with their prerequisites using the Multi-Workspace Application Builder mkmk. Then set up the run time environment, and launch the use case. Assume the load module is CAAUseCase.m. Open a Command Prompt (DOS window) and:

where

InstallRootDirectory The pathname of the directory into which the CATIA V5 run time and CATIA-CAA V5 CD-ROMs were unloaded
ToolsRootDirectory The pathname of the directory into which the CAA-RADE V5 CD-ROM were unloaded
MyRootDirectory The pathname of the root directory where you can copy and build the use case
TCK The Tool Configuration Key, such as V5R9 or V5R9_SP2
CAAFramework.edu The CAA framework that contains the use case module
CAAUseCase.m The use case module, or one of the modules that make up the use case
CAARunUseCase The command which launches the use case, delivered in MyRootDirectory\CAAFramework.edu\CNext\code\command
HttpPortalServer The hostname of the server in the form: server:http_port or server if the port is 80. ex: MyMachine:85
OrbixPortalServer The hostname of the server in the form server:orbix_port or server if the port is 1570. ex: MyMachine:1574

[Top]

Step-by-Step with Microsoft Visual Studio .NET

To use Visual Studio .NET with CAA V5, you need to set up the build time environment, and access the prerequisite frameworks.

You can now build and launch a CAA use case, that is, build the use case associated module(s) along with their prerequisites using mkmk. Then you set up the runtime environment, and launch the use case. Here we assume that the load module is CAAUseCase.m.

[Top]

Step-by-Step with UNIX

To build and launch a CAA use case, first set up the build time environment by copying the CAA frameworks containing the use cases in a workspace root directory of your own, and build the use case associated module(s) along with their prerequisites using the Multi-Workspace Application Builder mkmk. Then set up the run time environment, and launch the use case. Assume the load module is CAAUseCase.m. Open a shell window and:

where

InstallRootDirectory The pathname of the directory into which the CATIA V5 run time and CATIA-CAA V5 CD-ROMs were unloaded
ToolsRootDirectory The pathname of the directory into which the CAA-RADE V5 CD-ROM were unloaded
MyRootDirectory The pathname of the root directory where you can copy and build the use case
OS_a The UNIX operating system dependent directory. Valid values are:
  • aix_a for AIX
  • aix_a64 for AIX 64 bit
  • hpux_b for HP-UX
  • solaris_a for Solaris
TCK The Tool Configuration Key, such as V5R9 or V5R9_SP2
CAAFramework.edu The CAA framework that contains the use case module
CAAUseCase.m The use case module, or one of the modules that make up the use case
CAARunUseCase The command which launches the use case, delivered in MyRootDirectory/CAAFramework.edu/CNext/code/command
HttpPortalServer The hostname of the server in the form: server:http_port or server if the port is 80. ex: MyMachine:85
OrbixPortalServer The hostname of the server in the form server:orbix_port or server if the port is 1570. ex: MyMachine:1574

[Top]


In Short

This use case shows how to set up the environments, compile, and launch a CAA V5 use case with Windows and UNIX.

[Top]


History

Version: 2 [July 2005] Document updated
Version: 1 [Apr 2000] Document created
[Top]

Copyright © 1999-2007, Dassault Systèmes. All rights reserved.
Special Notices CAA V5 CATIA | CAA V5 DELMIA | CAA V5 ENOVIA