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.
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.
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)
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.
I am publishing a .NET 3.5 SP1 WPF application through ClickOnce. By default, when the user clicks on the published link the application gets installed and a menu and shortcut are added to the client's Start/All Programs menu.
How can I prevent the shortcut/menu from being created? (Users need to run the application solely by clicking on the hyperlink to the ".application" file on a web page.)
For this behaviour, set it as online only. Project properties -> Publish -> "The application is available online only" (radio button).
It will still do the same local caching of files etc; it is mainly the start-menu that changes (I don't have a full list of the differences).
This can also be changed in the .application file by setting <deployment install="false"