Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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

I had the problem with removing the view being greyed out when I was connected to the view and right clicked on the view. This problem went away accidentally when I did the following:

  1. Exited CCRC client
  2. Got back into CCRC client
  3. Expanded "My Views"
  4. Right click on the view to be removed without connecting to it.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top