IBM Support

List the contributing activities in the change set of a baseline or an integration activity

Technote (FAQ)


Question

How can I view the contributing activities included in a baseline or an integration activity from the graphical user interface or command line when using IBM® Rational® ClearCase® UCM?

Answer

BASELINES

Baselines are used to mark a set of versions as a stable configuration or a bench mark, and can span multiple components in a project.

For more information on Baselines and their uses, see IBM Rational ClearCase Managing Software Projects.

You can view the contributing activities in a baseline from GUI or CLI as follows:

GUI - ClearCase Component Tree Browser

  1. From Project Explorer, right-click a component and select Browse Baselines:



  2. Right-click the baseline and select Properties > Activites tab:





CLI - cleartool describe

Command syntax:

cleartool describe baseline:<baseline>@\PVOB

Example:
C:\>cleartool des baseline:proj1_new_baseline@\pvob1
baseline "proj1_new_baseline"
  created 2006-07-17T21:38:48-04 by admin.ccusers@IBM-D15F3483123
  owner: IBM-D15F3483123\admin
  group: IBM-D15F3483123\ccusers
  stream: project1_int@\pvob1
  component: comp1@\pvob1
  label status: Fully Labeled
change sets:
    deliver.admin_proj1_dev2.20060717.213815@\pvob1
  promotion level: INITIAL
  depends on:
  Attributes:
    PromotionLevel = "INITIAL"
  Hyperlinks:
    BaselineLbtype -> lbtype:proj1_7_17_2006@\multivob
    UseBaseline <- stream:admin_proj1@\pvob1
    UseBaseline <- stream:admin_project1@\pvob1


INTEGRATION ACTIVITY

Integration activities track work completed as a result of a deliver or rebase operation, and they are named accordingly with a prefix of either deliver or rebase to help distinguish them from user created activities.

For more information About activities, see IBM Rational ClearCase Developing Software.

You can view the contributing activities in an integration activity from GUI or CLI as follows:

GUI - ClearCase Project Explorer

Note: The screen capture is from Microsoft® Windows®, but this feature is available on UNIX® and Linux® also.

  1. Start Project Explorer, select a stream in the left-hand pane, and the integration activities will appear in the right-hand pane:

    Note: Integration activities only exist in a stream as the result of a deliver or rebase operation.



  2. Right-click the activity and select Show Contributing Activities:




CLI - cleartool lsactivity -contrib

Command Syntax:

cleartool lsactivity -contrib <deliver baseline>@\pvob

Note: You can list the intergration activities in a stream using cleartool describe stream:<stream>@\PVOB.

Example:

>cleartool lsactivity -contrib deliver.admin_proj1_dev2.20060717.213815@\pvob1
new_file


Note:
The following command provides information that closely matches the GUI results above:

cleartool lsact -fmt "%[contrib_acts]p" deliver.admin_proj1_dev2.20060717.213815@\pvob1

For more information on cleartool lsactivity, see IBM Rational ClearCase Command Reference, or run cleartool man lsactivity.

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational ClearCase UCM: Baseline
Software Development Rational ClearCase UCM: Deliver
Software Development Rational ClearCase UCM: Activity
Software Development Rational ClearCase UCM: Baseline

Document information

More support for: Rational ClearCase
UCM: Deliver

Software version: 7.0, 2002.05.00, 2003.06.00

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Reference #: 1128235

Modified date: 13 September 2007