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

620 Views Asked by At

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?

3

There are 3 best solutions below

0
VonC On BEST ANSWER

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".

0
Christoph On

If there is a .cc_loading directory it looks like a wev view. Cleartool claims that it doesn't work in those views (if if the command has nothing to do with a view context!). You should you "rcleartool ls", but you can also see what version of the directory is used with the help of CTE.

I guess that you see version /main/0 of the directories.

0
Brian Cowan On

As this is a snapshot view, create a dynamic view with the same configspec and see what it sees. If you see directories and not files in the dynamic view, what is the configspec? And what does cleartool ls show you?