Show TOC

Integrating Activities into Different WorkspaceLocate this document in the navigation structure

Prerequisites

To integrate the contents of an activity of workspace A into workspace B, use the DTR command line tool. The Design Time Repository perspective does not offer an option to carry out the process of integration.

Procedure

To integrate the activity use the following command on the DTR command line tool:

i ntegrate -a <activity> -w <source workspace> <target workspace>

Result

The chosen activity is integrated into the target workspace. The workspace refers the versions contained in that activity.

Example

Assume that a resource R1 is added to a workspace dev in the context of an activity A1 . This activity is checked in and integrated into workspace cons . The first figure below shows the version graph of the resource when requested from the dev workspace. Version 1 is shown as an active version in the workspace.

The second figure below shows the version graph of the resource when requested from the cons workspace. cons is shown as the active workspace and version 1 created in dev is the active version there, too.

A checked-in activity can be integrated in several target workspaces. Each integration makes the changes made in the activity visible in the target workspace.

The following two figures show the steps of integrating a resource into another workspace.

A resource was added in the context of activity A in workspace dev and checked in.

Activity A was integrated into workspace cons . Note that workspace cons points to physically the same version as long as no new version is created in cons .