How to get into a vob on rcleartool

920 views Asked by At

I have type the lsvob command in rcleartool and it is giving me the list of vob's.

Now how to get into a particular vob?
I am trying cd /clinical but getting error:

CRCLI2027E Unable to change directory to "/clinical": No such directory.
2

There are 2 answers

0
VonC On

/clinical is not a path, it is a vob tag.
See "VOB tags and VOB access".

To access it contents, you need either:

  • a snapshot or ccweb view, with a load rule for that vob

    LOAD /clinical
    

(See more at "ClearCase view configuration" and "View or edit load rules")

(then start the dynamic view)

3
hack On

Since you are using CCRC (the ClearCase Remote Client), in order to access files in a VOB, you must

  1. Create an automatic view or a Web view using the ClearTeam Explorer (CTE) GUI or 'rcleartool mkview ...' from the command line.
  2. If you're using an automatic view, mount the VOB using CTE or 'rcleartool mount ...'. If you're using a Web view, add a load rule to the view's configuration using CTE (i.e. add "/clinical" in the "Load Rules" tab - accessible from the "Show ClearCase View Configuration" menu item on the context menu for the view) or 'rcleartool edcs' (i.e. add a line "load /clinical" to the configuration specification).

Then go to the view root directory (R:\<view_tag>\ for an automatic view or the path to the copyarea for a Web view) and the VOB tag should be visible in that directory. You can 'cd' into the VOB from that context.

For more details the man pages for the commands are at:

mkview

mount

edcs