Search code examples
clearcasecleartool

How to create symbolic link to a file in root folder using cleartool command?


I have a file in root location:

M:\My_View\Data.doc

I want the same file to be also visible in another folder, pointing to the file that is in the root location, using cleartool commands:

M:\My_View\Documents\Data.doc

Solution

  • You cannot directly, since cleartool ln -s is for a Vob symbolic link, meaning it works for elements within a Vob.
    See also "About creating Symbolic Links (symlinks) from command line".

    M:\My_View\Data.doc is not within a Vob (it is in a dynamic View, but only the first folder within that view, like Documents, is a Vob)