How to checkout files from the command line and show UCM new activity GUI if neccessary
-
26-09-2019 - |
Question
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?
Solution
You can pop up the dialogue by using the cleardlg program with arguments /checkout .
OTHER TIPS
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow