list elements by activity

前端 未结 1 471
青春惊慌失措
青春惊慌失措 2021-01-16 11:07

I\'m working on automated builds and need to be able to list elements that were worked on under particular activities. I\'m new to ClearCase so I apologise for naiivety ...

相关标签:
1条回答
  • 2021-01-16 11:35
    • For "label" (I suppose "UCM Baselines" since you mention "activities", which exist only with UCM):

    The easiest way would be to configure a config spec for a dynamic view:

    element * MY_BASELINE
    

    in order to quickly access the right files.

    • For activities, you could (if there is not too much files involved), list the exact versions of each activities you want:

      cleartool descr -l activity:my_actity@\pvob

    and parse the result to grep/awk only what you need.
    You need only to do this within a dynamic view (any dynamic view): the activity will contain a list of extended pathnames, meaning you will be able to access and copy each version through that myFile@@/main/myBranch/myVersion path.

    0 讨论(0)
提交回复
热议问题