views:

60

answers:

3

I'm running a system with Clearcase Remote Client version 7.0.1.CU04.
I don't have cleartool installed on the system, so a command-line solution for my problem is probably unavailable to me.

Inside of CCRC, I've created many views that appear in the ClearCase Navigator pane.
I'd like to delete these to reduce clutter, but see no UI options to do it.
Right-clicking will show me a disabled "delete" in the pop-up menu list. And also the "Remove ClearCase View" under the "Environment" menu is disabled. Deleting the associated directory in the filesystem (not CCRC) will just leave an orphaned item in the list shown in CCRC.

How can I delete these views?

+1  A: 

I confirm that CCRC doesn't come with any cleartool CLI -- scratch that: with CCRC7.1 onwards, you do have a CCRC Remote CLI (including a rmview command!).
They can be deleted on the CCRC server where they are listed as ccweb views, like this technote mentions.
But it also mentions:
"The proper way to remove a ClearCase Web view is through the CCWeb interface or CCRC interface."

So it must be possible (and has always been, according to the feature matrix).

  • Select a view
  • Right-click and select Remove ClearCase View (not "delete")

Are your views within a working set?
There is a bug associated with views in working set.

VonC
Thanks for the reply. Remove ClearCase View is not shown in the right-click options from views in the "Clearcase Navigator" pane. It does appear in the top menu under "Environment", but it is disabled here. Will check for CCRC Remote CLI and report back.
Erik Hermansen
It will be some time before I can try out the CCRC remote CLI solution. IT dept has to upgrade the server to match that version first. Any ideas why the "remove clearcase view" option is disabled? This otherwise seems like the straightforward way to delete the view.
Erik Hermansen
@Erik: just saw your answer. What version of CCRC are you using?
VonC
CCRC version is 7.0.1.CU04. I can't upgrade anytime soon.
Erik Hermansen
A: 

I found a very unintuitive way to remove the ClearCase View. Although the "Remove ClearCase View" option under the "Environment" is shown disabled, it can still be chosen. And it will remove the view. So there is some bug in CCRC apparently.

Erik Hermansen
A: 

If all you want is to remove the list of views from your CCRC client, you can simply edit this file in your default home directory --> C:\Documents and Settings\.ccase_wvreg

This file contains the list of CCRC views storage directory on your local machine.

However, doing this doesnt cleanup the registry server, you need to ask the CC admin to cleanup the reg server. This 2 commands will work for the admins.

cleartool unregister

cleartool rmtag

kolslorr