1

I have config spects for a view and I need to create a view in Clear Case using command prompt. Please let me about the commands I can use with some example.

Thanks in Advance!

savalakh
  • 41
  • 1
  • 1
  • 7

1 Answers1

3

That would be using:

For creating a dynamic view:

cleartool mkview -tag yourDynView  \\shared\path\to\viewStorage\yourDynView.vws

That will create a dynamic view with a default config spec:

element * CHECKEDOUT
element * /main/LATEST

You will then be able to replace that config spec with any other config spec stored in a file, with the setcs command.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Hi, Thanks for the reply..Can you tell me what should be the directory location for the text file ? – savalakh Feb 21 '12 at 06:51
  • @savalakh: the text file with the right config spec can be... anywhere you want. Its full path will be the parameter '`pname`' of the '`setcs`' command. – VonC Feb 21 '12 at 07:22
  • Hi, Thanks again... I am not able to mount a vob in it .. I am using base clear case . – savalakh Feb 21 '12 at 13:45
  • @savalakh can you post in a comment the error message you have when trying to mount a vob? – VonC Feb 21 '12 at 14:51
  • @VonC: in mkview, what is a good location to set your "file whose contents are to become the view's new config spec" to? thanks – amphibient Sep 20 '12 at 15:07
  • @foampile any path will do, but you don't have to do a `setcs`, you can also go within your view and do a `cleartool edcs`. – VonC Sep 20 '12 at 17:26