Question

My project uses clearcase 8. we have around 10 dynamic views ( streams ). Each dyanamic view contains 5 VOBs.

After importing these dynamic views in windows clearcase explorer, all the 50 VOBs are appearing under each and every dynamic view ( though majority of the irrelevant VOBs contains just lost+found directory under it).

Once I have manually unmounted all of the irrelevant VOBs from the corresponding dynamic views but after a restart of my PC all the VOBs are appearing again every where.

I don’t want to view all the 50 VOBs in each dynamic view.

Is there a solution for this issue ?

PS: - I am not a clearcase admin / expert.

Please suggest.

Was it helpful?

Solution

Firstly, you can cleartool umount all vobs with

cleartool umount -all

Secondly, you can mount them without making them persistent:

cleartool mount \aVob

Through the GUI, they are generally mounted as "persistent", like if you did:

cleartool mount -persistent \aVob

That means they are recorded in the Windows registry, in oprder to be mounted again automatically at the next Windows session.
If you mount them through a script, without the -persistent option, you won't have that problem.

Finally, know that if one of your dynamic view need a vob, then you need to mount it (obviously).
But that same vob will then be visible on all your dynamic views (it will be mounted at least, even if no version in it is selected by the other views config spec).

To resolve that, you can add in another dynamic view which shouldn't see a particual vob:

element /aVob/... -none

(you can use '/' and not '\' in a config spec, even in Windows)

That will make that vob invisible for that dynamic view, while still being mounted and available for the first dynamic view which needs it.

OTHER TIPS

you can create a bat file and use it to mount a list of VOB's using cleartool mount \vobname

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