I would like to be able to use cleartool commands on files that are symbolic links to files in a snapshot view on linux.
>cd /my/build/area/
>ls -l file.c
lrwxrwxrwx 1 sword none 123 Jun 19 16:57 file.c -> /my/snapshot/view/file.c
>cleartool co file.c
cleartool: Error: Not an object in a vob: "file.c".
Similarly, when I try to do cleartool update to do this I get
cleartool: Error: Unable to determine version for VOB root directory element
cleartool: Error: Unable to access "/my/build/area/file.c" No such file or directory."
I can cd to the view and use cleartool on a file no problem. But cleartool operations on the symlinks to the files in the view give me the error.
The reason I ask is my build environment consists of a local directory consisting of symlinks of each file to the snapshot view. Is there a way I can do this without having to cd to the snapshot view?
Note : I am using the ln -s command within the cshell to create the files in my build area. I am not using cleartool ln. I am not trying to symlink a file with a vob or to another vob.
Edit: Worth noting, the attempt to 'cleartool update' a symlink does write to the view .updt file, so while the cleartool command on the symlink does fail, some part of the tool has the view context.