I created a working space to include one of my folders, and as soon as I clicked ok, now the ClearCase Navigator shows only that folder, and my vobs and views are gone from the GUI.
How can I bring them back? I selected Window -> Show View -> clear Case navigator, but the navigator only shows that one folder now, and I can't get it to show the vobs and views.
Please help.
First of all, by "working space" I meant "working set".
After some time trying to figure it out, I just went ahead and removed the "working set" I had created, and immediatelly my vobs and views came back to the ClearCase Navigator box.
That seems to be the intent behind working sets: see "About working sets in the Rational ClearCase Navigator view".
Use working sets to limit the items that appear in the ClearCase Navigator view.
It is possible to have a large number of nodes present in the ClearCase Navigator view. You may need to see only a small number of these nodes at one time.
As long as this working set is active, you cannot see other vobs/views.
When a working set is turned on, the working set icon filtered ClearCase Tree icon appears in the left corner of the ClearCase Navigator tab and the name of the working set appears in parentheses on the right: (working set_name).
Related
Very often, when I open File Explorer (on Windows 10) it "hangs", showing empty panels with a search bar on the top slowly moving to the right, with nothing else happening. However, if I open a second (or third, etc....) instance of the same file explorer, it immmediately works showing all the files (while the first keeps on "searching" with no results). If I close everything and re-open the Explorer, once again the first instance hangs on this sort of search activity, while the second works OK.
Unfortunately this behaviour is a bit random (see the "very often" above). I have tried closing any other program that might interfere, but couldn't find anything. I also couldn't find much help by googling it. My guess is that by using the PC at some point I run some program that corrupts something ...
Any hint on where to look?
I just ran into this problem for the umpteenth time, and I definitely found the fix for this iteration. After trying several things, this was the instantaneous fix for the slow scanning bar and slow column sorting:
Navigate to the problem folder in the Window Explorer folder view.
Right-click the folder and select "Properties".
In Properties, select the "Customize" tab.
Make sure "Optimize this folder for:" is set to "General Items" AND "Also apply this template to all subfolders" is checked.
Click OK.
This immediately brought my problem folders to life and everything worked normally. I would recommend doing this at the Drive level folder, and then go back and customize folder such as Pictures, Music, and Videos. The reference that solved the issue is quite old, but still seems to be an issue (and the fix).
Before this I had tried rebooting several times, cleaning out shortcuts, sfc, dsim, and several other things that did not have any effect. Now opening any folder is lightning fast with no scan and sorting by name, type, size, or date modified is just as quick.
I want to make a new icon and a fuction for clearcase, i want to activate and deactivate the element * MAIN/LATEST function without to change manually the config spec.
I would like to have also the icon on my toolbox so i could know every time if MAIN/LATEST is active. My question is if someone could manipulate the clearcase's Toolbox. I was searching in google without to find out an answer!
The usual customization I see is through the ClearCase Context Menu Editor for Windows Explorer.
That would apply for Windows client only, and for ClearCase 7.x, not ClearTeam Explorer 8 though:
The tool that allows you to change the behavior of existing dialog boxes in Windows and ClearCase Explorer is ClearCase Context Menu Editor (tool called clearmenuadmin typical found in C:\Program Files\Rational\ClearCase\bin\clearmenuadmin.exe) which is available on all ClearCase Windows installations.
With the Context Menu Editor it is possible to:
Create new commands and other menu items available to ClearCase context menus.
Change properties of built-in and custom ClearCase context menu items.
Add items to or remove items from ClearCase context menus.
Test the changes to ClearCase context menus.
It would be good to know why you want to "disable /main/LATEST" and how you plan on doing that. Completely removing the line may cause problems if you need to create new elements, for example.
Whatever script that you're planning on using would need to:
Grab the current view configspec using cleartool getcs
Edit it to make the desired changes
use cleartool setcs {filename} to apply the changes
Some key "gotchas".
Removing /main/LATEST completely will break mkelem, unless have a "element * /main/0 -mkbranch {some branch}" rule.
If you use "-time now" to prevent seeing stuff on /main that others may still be checking in, that will work up to a point. This "now" means "when the configspec is recompiled" which can happen: on starting the view server process or if "cleartool setcs -current" is used to clear view caches.
Not having a configspec line for /main is intentionally introducing "no version selected by configuration" errors. As is using "element ... -none" rules. If you use snapshot or snapshot-derived view types (Web views, and likely Automatic views), you may see error messages on updating/loading views. You can ignore these messages, but only if you're aware they will happen. If you're doing automated updates (say as part of a build process) that tooling needs to be set up to ignore the "spurious" errors and catch the "real" ones.
I am using Clearteam Explorer 8. I recently was browsing a project folder which contained a symbolic link. Explorer said that I would need to enable something in order to follow the link. I said ok.
Now it insists on showing me every possible folder in all of my views including unloaded ones. The folders have no contents, but it makes all views really hard to navigate as there is a lot of chaff in the view's tree.
I cannot find where this option is set/unset because I set it in response to a one-time prompt. Does anyone know how to turn this off and have it only show me loaded folders?
Check in the Load Rules tab of the "Edit Configuration" dialog box, for Web views only, if you have the option "Show Obsolete Directories and Files" selected.
Un-selecting this option might help.
If you can edit the config spec of your view, you can add cleaning rules, like:
element /avob/* -none
If you placed it just before the last one (element * /main/LATEST), that would hep ClearCase to not select at all any element which wasn't already selected before by the config spec selection rules.
I had the same problem and I solved it by:
Removing the parameter ccvtreeviewer.fetchFullTree=true from file com.ibm.rational.clearcase.prefs. On my machine, this file is located in folder: C:\Documents and Settings\UserName\.Rational\CTE8\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.ibm.rational.clearcase.prefs
Editing the file com.ibm.rational.team.client.ui.model.prefs and update theses parameters:
appliedTreeRules_0=com.ibm.rational.clearcase.ui.actions.ShowLoadedVobsAction|Public and Private VOBs|true|true|true|System;
nonappliedTreeRules_0=com.ibm.rational.clearcase.ui.actions.ShowUnloadedVobsAction|Unloaded VOBs|true|false|false|System;com.ibm.rational.clearcase.ui.actions.ShowUnloadedElementsAction|Unloaded Elements|true|false|false|System;com.ibm.rational.clearcase.ui.actions.ShowLoadedPrivateVobsAction|Private VOBs only|true|true|false|System;com.ibm.rational.clearcase.ui.actions.ShowLoadedPublicVobsAction|Public VOBs only|true|true|false|System;com.ibm.rational.clearcase.ui.actions.ShowUnmountedVobsAction|Unmounted VOBs|true|false|false|System;
I have noticed the behavior of a Dynamic view is different than a web view with the following config spec:
element * CHECKEDOUT
element * MYLABEL
element * /main/latest
With a web view, my view is filtered by MYLABEL.
But in Dynamic views, I always get the "latest" files.
What am I doing wrong?
It depends on:
the config spec of the dynamic view
(you need to double-check if it is the same than the web view, with a cleartool catcs)
the files you are considering (that LABEL might not be applied on all those files)
how long the web view was updated: a web view is basically like a snapshot view: you might see those versions now, but if the label was moved, then a refresh might give you different result.
Beside that, there is no differences in the selected versions a web view or a dynamic view would return.
The OP Kevin Zamora adds in the comments:
I got it to work.
The problem is that Clearteam explorer is slowwww... and if you work remotely, it could take forever (and we reportedly have a fast connection).
Even at work, it takes many seconds.
Also, I notice that you have to kill the show version tree window and restart it completely. Sometimes the window doesn't update properly.
I created a view using the ClearCase explorer.
But after its creation, the view is not visible in the listing of views within the explorer.
I tried closing the explorer and starting again. But no use...
What would you suggest?
I would recommend the following procedure:
open a DOS windows
goes to the root of your view ( c:\path\to\myView for snapshot views, M:\MyView for dynamic view)
type 'clearexplorer . (note the 'space-dot' after the clearexplorer command)
That should:
open your ClearCase explorer directly on the right view
add the right view shortcut
Sometimes ALBD service of the ClearCase doesnot start due to which you will not be able to view the clearcase views.
To solve this problem,
Go to control panel for windows machine and restart the clearcase services in ClearCase properties and try and check.
The views will be shown now.
my issue was resolved with going to the menu of ClearCase Explorer:
View > Refresh View Shortcuts (shortcut is ALT+F5)
None of the below seemed to work, I tried them all, they all seemed reasonable. I could see the new views and the associated drive letters in Windows Explorer but ClearCase Explorer DID NOT see the new view. So what I had to do was go to the ClearCase Explorer Views tab, right click and 'Add View Shortcut'. Select the correct View Type (Snapshot or Dynamic) and then select the correct View Tag and press OK. I did not need to select the correct page, it made a new one for the "new" view and it filled in the Drive Letter.
I had deleted a view thru ClearCase Explorer and tried to resurrect it which may of led me to this predicament.