IBM Support

Workaround for UCM activity dependencies during a deliver

Question & Answer


Question

Is there a workaround that can be used when running into IBM® Rational® ClearCase® UCM deliver dependencies?

Answer

The following workaround can be used when running into deliver dependencies. This is for users who are trying to deliver a selected group of activities rather than all activities.

The findmerge allows you to specify a group of activities to deliver to a desired target. This avoids activity dependencies in a given stream during a deliver.

Note: This workaround should not be used as merely a substitute to the deliver operation. Using findmerge -fcsets solely limits some of the audit ability that UCM provides which may not be obvious. For example, the deliver baselines that are created on a stream as a checkpoint during a deliver operation will never be created.

WORKAROUND:

From the target view:
  1. Set to an activity (setact) or create a new activity (mkact). This activity is just like the Integration activity normally used/created during a deliver. It allows you to check the files in after the merge.
     
  2. Run a findmerge using the following format:
    cleartool findmerge activity-selector ... -fcsets [-gmerge | -merge]
     
  3. Merge files as needed.
     
  4. Checkin files that were merged.
Note: If a baseline is applied to the destination stream after using the "findmerge workaround" a "diffbl" with the previous baseline will not include "source stream contributors". These "source stream contributors", however, will show up on subsequent "diffbl's" if standard UCM deliveries are used thereafter.
EXAMPLE:

Step 1
  • M:\int>cleartool mkact int-merge
    Created activity "int-merge".
    Set activity "int-merge" in view "int".
Step 2
  • M:\int>cd cvob1
    (Requires a view and vob context to write temp files)

    M:\int\cvob1>cleartool findmerge activity:A@\pvob -fcsets -gmerge
    Needs Merge "M:\int\cvob1\old folder\new name" [to \main\int\7 from \main\int\de
    v\2 base \main\int\dev\1]
    Checkout comments for this and any additional elements:
    deliver dependencies work around
    .
    Checked out "M:\int\cvob1\old folder\new name" from version "\main\int\7".
      Attached activities:
        activity:int-merge@\pvob  "int-merge"

    ***********************************************
    Here is where merge manager opens to merge files
    ***********************************************
Step 3
  1. Merge the files in the GUI and save
  2. Once saved close the merge manager window.
  • Recorded merge of "M:\int\cvob1\old folder\new name".

    Log has been written to "findmerge.log.2007-07-27T170557-04".

Step 4

Checkin files using the same activity ("int-merge" from the example above).

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"ARM Category":[{"code":"a8m0z000000bo3JAAQ","label":"ClearCase-\u003EUCM"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
14 March 2023

UID

swg21267316