CM actions

Check out

You must check out a component before it can be modified. LN Studio checks whether the component is already present in your activity VRC (for example because of an earlier check out and check in action).

  • If the component is not yet present in your activity VRC, LN Studio locks the component in the Project VRC, so that other software engineers cannot check out the component, and copies the component to your activity VRC where it can be modified. The component in the project VRC stays locked until you end your activity.
  • If the component is already present in the activity VRC, the component gets the "checked out" status, so that it can be modified. Note: The component in the project VRC stays locked until you end your activity.

To check out a software component in LN Studio:

  1. Right-click the component in the Activity Explorer view.
  2. Select Team > Checkout.

Check in

You can check in a component when you finish the changes to the component.

LN Studio changes the status of the component in the activity VRC to "checked in". To modify the component, perform a new check out.

Note: The checked in component stays in the activity VRC. The component is not copied to the project VRC. The component in the project VRC stays locked. Therefore, it is not accessible for all software engineers. To unlock the component in the project VRC and to make it accessible for other software engineers, end your activity, or cancel the activity or the component.

To check in a software component in LN Studio:

  1. Right-click the component in the Activity Explorer view.
  2. Select Team > Checkin.
Note: If Verify Software Components (VSC) is active and blocking VSC warnings are present, Check in is not possible.

Undo checkout

You can undo the check out of a component. LN Studio cancels all changes made since the last check in of the component. The component stays in the activity VRC.

Note: The component in the project VRC stays locked. Therefore it is not accessible for other software engineers. To unlock the component in the project VRC and make it accessible for all software engineers, end your activity.

To undo the check out of a software component in LN Studio:

  1. Right-click the component in the Activity Explorer view.
  2. Select Team > Uncheckout.

End activity

When you finish all changes in an activity, you can end the activity so the changed components are released to the project VRC.

When you end an activity, LN Studio performs the following actions:

  • Moves all software components in the activity VRC to the project VRC. Therefore, components become available to other software engineers.
  • Unlocks the components in the project VRC.
  • Releases the activity VRC, so it can be reused.
  • Disconnects the corresponding run configurations from the activity. You can link these configurations to another activity.

    See Linking run configurations to an activity.

Note: You can only end an activity if all components in that activity are checked in.

To end an activity in LN Studio:

  1. Right-click the activity in the Activity Explorer view.
  2. Select Team > End activity.
Note: If not all components are checked in and the Partial End Allowed check box in the software project properties is selected, you can partially end the activity. To do this, in the Activity Overview, End Activity dialog box, select a subset of the components and click OK. See the dialog box's online help.

Cancel Activity

To undo all changes in an activity, cancel the activity.

LN Studio performs these actions:

  • Removes all components from the activity.
  • Unlocks the components in the project VRC.
  • Releases the activity VRC, so it can be reused.

To cancel an activity in LN Studio:

  1. Right-click the activity in the Activity Explorer view.
  2. Select Team > Cancel Activity.

Cancel a range of activities

To undo all changes in a range of activities, run the Global Cancel Activity (ttadv1223m000) session on the LN development server.

Note: This session does not update the status of the canceled activities in the Project Server. See the session help.