I am working with a clearcase snapshot view under windows. I am trying to download the content of a file file.txt which is not loaded by my current configspec.
My snapshot view is c:\view.
The following command
cleartool get -to toto.txt someCorrectVOBdir\file.txt
works perfectly when called from c:\view, and fails when called from any non-view directory with the error
cleartool: Error: Operation "get cleartext" failed: not a ClearCase object.
Why? How can clearcase knows that the current directory is not a view directory ?
ClearCase check for a
view.dathidden file, either in the current directory or in a parent directory.If it finds one, the current directory is part of a snapshot view.
if it doesn’t find one, this isn’t a ClearCase view.
If the
view.datis somehow erased and lost, it can be regenerated.