How to setup activity automatically for a view?

前端 未结 2 839
南方客
南方客 2021-01-14 05:33

In our build , we use to delete our view and create new view before build.

It was working without any issue in base clearcase.

But in UCM we face issues whil

2条回答
  •  天命终不由人
    2021-01-14 06:22

    Use cleartool setact to set your activity.

    setact/ivity [ –c/omment comment | –cfi/le pname | –cq/uery | –nc/omment ]
    [ –vie/w view-tag ] { –none | activity-selector } 
    

    You might need to unset the current activity first from your view:

    Cleared current activity from view java_int.

    cleartool setactivity -none
    

    Then, Set an activity to be the current activity.

    cleartool setactivity create_directories
    Set activity "create_directories" in view "webo_integ".
    

    See "Setting UCM activities" for more:

    You can set only one activity per view at a time, and all checkouts in your view are associated with the currently set activity until you unset the activity or set another one.

    cleartool setact -view  
    

    (-view set before the activity name)


    Note that if you are changing the activity while you have pending checkouts, you will have a warning.

    You usually associate activities to a development task instead of a build number.
    Since you don't version what you are building (the executables), you don't have to make a new activity per build.

提交回复
热议问题