Posted by: Gangadhar on: March 12, 2009
How do one can rename a Clearcase View on Unix/Linux/Solaris? Very simple, use rename command. :-p
Just kiddin, never mind.
Well, renaming a Clearcase View requires the renaming of both the storage and the tag. Here are the basic steps for the same but you are recomended to refer the Product Documentation if it doesn’t work:
1. Stop the view
PROMPT> cleartool endview <view-tag>
2. Remove the view tag to untag the view
PROMPT> cleartool rmtag -view <view-tag>
3. Remove the Clearcase registry entry to unregister the view object
PROMPT> cleartool unregister -view <vie-storage-path-name>.vps
4. Rename the view storage directory
PROMPT> mv <old-view-storage>.vps <new-view-storage>.vps
5. Register the new name fo the view storage
PROMPT> cleartool register -view <new-view-storage-path-name>.vps
6. Create a new tag for the view
PROMPT> cleartool mktag -view -tag <new-view-tag> <new-view-storage-path-name>.vps
As it is on Solaris machine, no need to start the view explicitly. You can directly start working by setting the new view.
Note: These steps are just for rename operation. If you wish to move, not rename, the snapshot view directory which contains special files, you need to take some additional steps.
Its clear and informative.
works well till I want to see or edit config spec…
“cleartool: Error: Cannot get config spec for view: error detected by ClearCase subsystem.”
very interesting post, it really got me thinking.
thank you
Hi, am facing an error in the step 5, registering the new name for the view storage.
cleartool: Error: Unable to contact albd_server on host
cleartool: Error: Cannot bind an admin_server handle on “”: ClearCase object not found.
I tried googling this and saw some posts at the IBM site but that didn’t help much.
Still a beginner in clearcase and would appreciate a response.
Have the same problem…
I was able to unregister, and cannot register under new name…
March 27, 2009 at 12:16 pm
Thank You