As i am very new to the CM work i can not verify that this will work but can be worth a shot to understand the problem.
infromation was found at quicktechref.blogspot.com/2008_11_02_archive.html
This technote explains how to resolve an error cleartool: Error: A non-nil global pathname value is required for Dynamic views, that can occur when attempting to create a IBM® Rational® ClearCase® (CC) dynamic view using a registered view storage location (stgloc) that has no global path.
Symptom
Errors like the following are reported when attempting to create a dynamic view using a stgloc that does not have a global path defined :
cleartool: Error: A non-nil global pathname value is required for Dynamic views
Example:
cleartool mkview -tag viewname -stgloc view2
cleartool: Error: A non-nil global pathname value is required for Dynamic views.
Exit 1
Here are the details about the stgloc being used in the above mkview command:
Name: view2
Type: View
Region: unix
Storage Location uuid: 7c590965.8f0311dd.8aa7.00:01:80:9f:0a:a5
Global path:
Server host: myhost
Server host path: /scratch/view2
Cause
The registered view storage location was created without a global path defined.
A stgloc created with a non global path can not be used with dynamic views, which relies on the global path for accessing the view's storage location.
Resolving the problem
Define a global path for the registered view stgloc.
Examples:
cleartool mkstgloc -view -host myhost -hpath /scratch/view3 -gpath /scratch/view3 view3 /sc
Created and advertised Server Storage Location.
Host-local path: myhost:/scratch/view3
Global path: /scratch/view3
cleartool mkview -tag -view -stgloc view3
Created view.
Host-local path: myhost:/scratch/view3/user1/-view.vws
Global path: /scratch/view3/user1/-view.vws
It has the following rights:
User : user1 : rwx
Group: user : rwx
Other: : r-x
OR
Name: viewstg
Type: View
Region: unix
Storage Location uuid: e6d64a4b.7b8711dd.9bfd.00:01:80:9f:0a:a5
Global path: /net/myhost/scratch/viewstg
Server host: myhost
Server host path: /scratch/viewstg
cleartool mkview -tag defoe -stgloc viewstg
Created view.
Host-local path: myhost:/scratch/viewstg/user1/defoe.vws
Global path: /net/myhost/scratch/viewstg/user1/defoe.vws
It has the following rights:
User : user1 : rwx
Group: user : rwx
Other: : r-x
Good Luck
Br
Michael
No comments:
Post a Comment