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).

  • LN Studio does not support parallel development for applications. Therefore, if the component is not 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 private VRC where it can be modified. The component stays locked until you end your activity.
  • If the component is already present in the Activity VRC, LN Studio copies the component from your activity VRC to your Private VRC. The component in the project VRC stays locked.

To check out a software component in LN Studio:

  1. Right-click the component in the Activity Explorer view.
  2. Select Team > Checkout.
Note: If you try to change a component which is not checked out, you are prompted whether you want to check out the component.

Check in

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

LN Studio moves the checked out component from your private VRC to your activity VRC. A historical version (revision) is generated, for which you must enter a revision text.

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 and not accessible to all software engineers. To unlock the component in the project VRC and to make it accessible for other software engineers, end or cancel the activity, or delete the component from the activity.
  • Other software engineers can use (not modify) your checked in components. This is possible if your activity is inserted into the activity context of their own activity.

    See Activity context.

To check in a software component in LN Studio:

  1. Right-click the component in the Activity Explorer view.
  2. Select Team > Checkin. The Check In comment dialog box starts. Specify a comment and click OK to check in the component.
Note: 
  • The revision text is stored in the configuration management system on the server. A single text is used for all revisions of a component. This text is displayed each time you check in a new revision of the component, so you can modify or extend it. If you check in multiple components together, you can use the same revision text for all components.

    See Check In comment.

  • 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 removes the component from your private VRC and cancels all changes you made since the last check in of the component. The component in the activity VRC is not removed.

Note: The component in the project VRC stays locked and is not accessible for other software engineers. To unlock the component in the project VRC and to make it accessible for other software engineers, end or cancel the activity, or delete the component from the 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 these actions:

  • Creates a roll-up of all component revisions and revision texts in the activity VRC.
  • Moves the resulting software components and texts from the activity VRC to the project VRC. Therefore, components become available to other software engineers.
  • Unlocks the components in the project VRC.
  • Releases the private VRC and the activity VRC, so they can be reused in the future.
  • 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 private VRC and the activity VRC, so they can be reused in the future.

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 server.

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