Using Objecteering ClearCase

 

Deploying the Objecteering ClearCase MDAC in your project

To deploy the Objecteering ClearCase MDAC, follow the steps shown in Figure 47.

 

Figure 47. Selecting the Objecteering ClearCase MDAC

 

Steps:

1.      Click on "Tools/Deploy an MDAC.   The "Open" window then appears.

2.      Select the Objecteering ClearCase MDAC from the list of available MDACs.

3.      Click on "Open" to run the deployment operation.

 

Two case scenarios are possible:

·         A new user wishing to connect to a view. In this case, MDAC parameters should simply be updated.  By selecting the MDAC, a wizard is used to initialize these parameters.

·         The project is new and has not yet been archived in a VOB.  This work is particularly destined for the build manager, who must export the Objecteering model in the form of a file and migrate these files into a VOB.  This case scenario does not allow the MDAC to be selected, but can be used to create the view, through a wizard.

 

Figure 48. Choices available when selecting the MDAC

 

Steps:

1.      Select the desired options.

2.      Confirm.

 

 

Exporting the Objecteering model

To be put in version in a VOB, a model must be generated in the form of files.  The "Export the Objecteering model" option is used to generate all files that are indispensable between Objecteering and ClearCase.

 

This option is only used once, by the administrator, to create the ClearCase VOB.  The ClearCase migration directory contains files representing the model which are archived in ClearCase.  It contains three types of import (complete, interface, structural) for the same element in a single file.

 

Figure 49. Creating files which represent the model

 

Steps:

1.      In the "ClearCase migration directory" field, define the migration directory. The default value of this field is <OBJING_PATH>\CMDirectory.

2.      Confirm.

 

Note:      The directory entered in this dialog box is not the definitive directory. The administrator can change these values at any time after the migration of the files into ClearCase or at any other time during the development cycle.

 

Once the model has been exported into the directory entered, the administrator is informed of the actions to be carried out.

 

Figure 50. Actions to be carried out after creating the repository

 

This operation cannot be used to deploy the MDAC, but only to generate files which can be migrated into ClearCase.

 

The following steps are used to update the ClearCase environment, in order to integrate the Objecteering model into this environment.  These steps must be carried out in the ClearCase environment.

 

 

Configuring the ClearCase environment

The Objecteering ClearCase MDAC cannot be used to create the repository directly within ClearCase.  This must be carried out manually.  Once the MDAC has externalized the directory for ClearCase, the directory must be injected into ClearCase.  This operation is carried out over two stages:

·         The creation of an archive specific to ClearCase, which contains all the directories and all the externalized files.  This operation is carried out via the "clearexport_ffile" command.  We recommend that you rename the CMDirectory directory, using the name of the project, in order to better distinguish projects in the VOB.

·         The import of this specific archive into ClearCase.  This operation is carried out via the "clearimport" command. In Windows, it is imperative that you launch this ClearCase command with the "pcase" option, so as to retain capitals present in the names of directories.

 

The ClearCase environment is now ready.

 

Note:      For further information on ClearCase functions, please refer to the ClearCase user guides.

 

 

Connecting to the ClearCase VOB

All the environments have now been defined.  All that remains is to select the Objecteering ClearCase MDAC and to position it on the ClearCase VOB.

 

To initialize your Objecteering project with the contents of the repository, select the Objecteering ClearCase MDAC in your UML modeling project and choose the "Connect to the ClearCase VOB" option.

 

Figure 51. Connecting to the ClearCase VOB

 

Steps:

1.      Enter the shared project directory in VOB.

2.      Confirm.

 

After these operations, the project contained in the previously specified view is imported.

 

The Objecteering project is now initialized with the name of the view and the positioning of the VOB.  It will no longer be possible to use the project with a view other than that used to initialize the project.

 

To modify the link between the view and the Objecteering project, the "Modify the parameters" administration MDAC command should be used.