Load rule scope returns error pathname does not begin with a \

why an IBM® Rational® ClearCase® CCRC or CCWeb view results in the error Error: Pathname "load \" is not a full VOB pathname: it does not begin with a "\". after adding a new load rule, and gives steps to resolve the problem.
 
Cause
When submitting load rules in the Load rule scopes of a ClearCase Web or ClearCase Remote Client view the following occurs:

ccweb: Error: Pathname "load \\" is not a full VOB 
pathname: it does not begin with a "\"

There are two possible causes to this problem:

1. The config spec was manually edited as if it were a standard snapshot view. Although standard snapshot views require the word load at the beginning of the load rule, these are not required when editing a CCWeb or CCRC load rules.

Example (using a Windows VOB):

load \myVob
element * CHECKEDOUT
element * /main/LATEST


2. It is also possible that an incorrect VOB path was used. For example a VOB does not have a slash or has an incorrect slash.

Example:

myVob
element * CHECKEDOUT
element * /main/LATEST

 
Solution
Solution 1: Remove the word load from the load rule.

Solution 2: Ensure the correct VOB pathname is used paying attention to the slashes (forward slashes / for UNIX® or Linux™ and back slashes \ for Microsoft® Windows®) and make sure there are no spaces before the VOB pathname in the rule.

  • An example config_spec should look as follows for Windows:
    \myVob
    element * CHECKEDOUT
    element * /main/LATEST
  • An example config_spec should look as follows for UNIX or Linux:
    /vob/myVob
    element * CHECKEDOUT
    element * /main/LATEST

No comments:

Post a Comment