문제

I want to checkout some files from a batch script, but since we use UCM checking out files needs to be associated with an activity. Is there an easy way to show the GUI for creating/selecting an activity to associate the checkout with?

도움이 되었습니까?

해결책

You can pop up the dialogue by using the cleardlg program with arguments /checkout .

다른 팁

You can simply ask for an activity name in your script, and then use the cleartool setactivity command

cleartool sectact -view viewTag -none       # make sure to unset any previous activity
cleartool sectact -view viewTag newActivity # set the new activity (name@\pvob) 

You can launch the ClearCase Project Explorer (UCM GUI) with clearprojexp, but I don't think a "UCM activity dialog box" is available as a separate executable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top