Deploying model components

Introduction

The deployment of a model component introduces us into the realm of model component usage, and is the first user-oriented phase of the model component life cycle (as opposed to the developer-oriented model component development and packaging phases).

Model components are deployed by users wishing to use them in their own projects. When a model component has been deployed in a project, it and the model elements it contains appear in the “Model” view in gray, and are in read- only mode. They are visible in the “Model” view and can be used transparently, but are not truly present in the project in which they have been deployed.

When the deployment command is run, no matter what the model element selected, the model component is always deployed at the project root.

If a model component depends on another model component, the other model component must be deployed first.

Model component deployment includes the following operations:

  • the selection of the model component to be deployed in your project

  • the resolution of any deployment issues detected

Selecting a model component to deploy

To deploy a model component, carry out the steps shown in the screenshots below.

4

Running the “Deploy model component” command

Solving deployment issues

Two types of issue can arise during deployment:

  1. Not all mandatory modules have been installed in the project in which you want to deploy the model component. If the model component you want to deploy includes note and tagged value types specific to a given module, then this module must be installed in your project before you deploy the model component. To solve this problem, simply run the “Configuration/Install a module” command, select the module you need to install and launch the module installation operation. You can then run the model component deployment operation again.

  2. A dependency existing between the model component you want to deploy and another model component which must be deployed first in a project has not been respected. To solve this problem, simply first deploy the other model component (indicated in the “Dependencies” field) in your project, in the exact version stated, and then run the deployment operation for the model component you want to deploy again.

modeler_fig_73.gif (126 KB) admin admin, 12 June 2012 16:16