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?
Asked
Active
Viewed 2,104 times
2 Answers
4
You can pop up the dialogue by using the cleardlg program with arguments /checkout .

Alf
- 1,518
- 3
- 17
- 21
-
1Same with `/checkin`. I had to add the file path as the last parameter in order for the dialog to show up (which isn't really documented in the `/?` help popup). – Pat Jun 22 '12 at 18:13
0
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
- 1,262,500
- 529
- 4,410
- 5,250
-
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 Aug 11 '10 at 08:29