clearcaseclearcase-automation

Create ClearCase View using CAL


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. :)


Solution

  • 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");