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?
views:
36answers:
2
A:
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.
VonC
2010-08-06 13:16:20
Thank you for the attempt, however I need something that's useable by people who fear the command line and that can create new activities. Seems cleardlg is the answer. :)
Alf
2010-08-11 08:29:05