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.
Since you are using CCRC (the ClearCase Remote Client), in order to access files in a VOB, you must
Create an automatic view or a Web view using the ClearTeam Explorer (CTE) GUI or 'rcleartool mkview ...' from the command line.
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
/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")
or a dynamic view, with that vob mounted beforehand (rcleartool mount)
rcleartool mount /clinical
(then start the dynamic view)
Related
I have created a view in ClearCase in which I have worked for sometime and then I was getting some issues in checkin and checkout afterwards so I have deleted that view and created new one which is working fine.
But now sudden I got to know that there are some files added to the source control which are reflecting and not required.
Issue: I went to clear team Navigator -> In sub stream Activities.
There I can see the activity that I committed.
On right click on activity, I can see only options: Remove Activity, Check in (which I cannot do), Disconnect, Show change set, refresh, remove properties.
Now when I trying to remove that activity it is giving an error:
CRMAP7009 : CCRC Command "RemoveResource" failed
I cannot share screenshots because it is restricted.
Does anyone having idea, how can I remove the activity?
It looks like you still have checked out files, but in a view that has been since deleted.
See if an admin can make sure your view is fully unregistered and remove for all vobs, which would make those files not checked out anymore.
See "Manually remove Web views for CCRC and CCWeb" (CC 7.x but could apply to 8 or 9), which involves:
cleartool rmview -uuid <uuid> -all
cleartool unregister -view -uuid <uuid>
Once those files are not checked out anymore, the activity will be empty, and you will be able to delete it.
The OP AIM confirms below:
we did not able to clear view from my end.
So admin went to the server and clear the views and the left checkouts and that helped
The way an admin would have clean this view on the server side is by running those same commands I mention above.
I have a view with CCRC.
I want to update the vob from the repository, but it is not showing the option to update it from repository at view level. It is showing it at vob level.
Otherwise, other views are showing options of updating the vob from repository.
Updating an (CCRC web) ClearCase view is only possible if:
you are connected to the ClearCase server that supports it, and
you must create at least one load rule for the view.
So check the config spec associated to the view where this optio is not available.
Update from Repository option is disabled, when I try to update a file from Clearcase Repositary (Team->Update from Repository)
Note: I have ClearCase plugin installed in my Eclipse.
How can I enable this option?
The help page "Updating a resource in a ClearCase view mentions:
Before you can update a resource in a ClearCase view, you must be connected to the ClearCase server that supports the view, and the resource must already be loaded into the view.
So make sure this connection is active (See "connect to a server"), and that the file is indeed in a web view.
On my clear case integration view there is an option 'Synchronize with stream' which is sometimes enabled and sometimes disabled. What governs if this is enabled or disabled? Also it seems when i click this, it just updates the integration view. So why we need a separate function like 'Synchronize with stream' when we can just update the integration view?
That button is only active when the configuration of your view (ie the list of baselines listed by your config spec) isn't the same than the configuration of your stream.
The fact that is also update the view is only a side-effect of your view being a snapshot one.
For a snapshot view (ie a view on your disk):
updating only the view will update the content based only on the config spec of said view (unchanged)
synchronizing the view with the stream will trigger an update which will be based on the updated config spec of the view (ie the config spec of the view rewritten automaticaly for you, after reading the configuration of the associated Stream)
The fact that it updates your "integration view" is just because your view happens to be associated with the Integration Stream.
But as my previous answer on "Integration stream vs integration view in ClearCase" shows, there can be many other views (associated to many other sub-streams, also called "Development Streams").
Note: the cleartool command actually behind that button is:
cleartool -tag view setcs -stream.
If you execute it at the root directory of a snapshot view:
cleartool setcs -stream
It will trigger the update (after updating the config spec)
I made a new view by CCRC CLI. Now I'm trying to set a new tab for it inside the CCRC dashboard, under "My Views". Do you know how to?
Thanks!
I am not sure what you mean by dashboard.
Once a ClearCase "web view" is created (by CLI or otherwise), it is automatically displayed in the "My Views" section of the ClearCase Navigator (shown here in its latest 7.1.2 version):
The "ClearCase Details" tab will reflect the current selected view.
Maybe a simple refresh is needed.