Question

is there any way to list files under a clearcase view using the remote client cli?

Currently I'm doing mkview and an update to get the files, then list them with ls/dir command. I'm only interested in the ls/dir output NOT the files themselves.

Thanks in advance!

Was it helpful?

Solution

The idea behind CCRC is to access file through a snapshot view, create in the CCRC server and synchronized on your workstation.

There is no dynamic view, which would give you access to some extended pathname exploration, for a remote list of the files.
You need to define your CCRC "web" view config spec (for ClearCase to know what to select and list) and update/load them in your workspace in order to be able to list them.

Whatever your configuration (CCRC or not), listing files means having a config spec first.
Having a config spec means having a view.
And with CCRC, the only available view is a "web" (snapshot) view, hence the "update" ordeal.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top