Create ClearCase View using CAL

184 views Asked by At

I'm trying to create a new view in CAL.

I know that I can use the IClearTool interface to set up the view via an appropriate command line, but am wondering if there is also a way to do it via the IClearCase interface. The documentation suggests that it's not possible, but I'd like to be sure. :)

1

There are 1 answers

1
VonC On BEST ANSWER

No I didn't see any obvious way to create a view other than using a cleartool command.
This old example is actually using IClearCase... to get Cleartool:

ClearCase.ClearTool CT = new ClearCase.ClearTool();
string result;
result = CT.CmdExec("mkview -tag " + ViewName + " -stgloc -auto");