Search code examples
version-controlclearcaseclearquest

ClearCase: I am not able to get the files from Clearcase


I'm using the ClearCase as version control tool.
When I am creating view in a particular VOB, all the folders has been downloaded from the server. But files are not getting downloaded.

For that I am doing as a workaround a 'checkout' of the current vob and then UNDO checkout the same. Then only I am getting files.

Is there any fix for this?


Solution

  • all the folders has been downloaded from the server.

    "Downloaded" means probably this is a ClearCase snapshot view, which reads the config spec:

    • "selection rules"
    • "loading rules"

    and download the elements (files and directories) whose version matches the selection rules, and whose path matches the loading rules.

    You need to do a cleartool ls in a folder where you see only subfolders in order to understand what selection rules was used to download those folders (and not the files)

    cd /path/to/my/view/(vobs/)myVob
    cleartool ls
    

    From there, you can edit the config spec (cleartool edcs) in order to fix the selection or loading rules, ensuring that folders and files are downloaded when you update the snapshot view.

    Maybe those folders are considered as hijacked: see "Locating hijacked files in snapshot views".