1

I'm currently working on a power shell script to automate the clear case tool. However, I am new to the new clear case tool. I require the clear case tool commands listed below.

  1. Create a view from the latest stream.
  2. Mount the created view on the local machine
max
  • 255
  • 2
  • 7

1 Answers1

0

"Mounting the view" means a dynamic view. (Meaning MVFS is activated on your Windows PC, and you have a M:\ drive)

See "How to associate a clearcase view with stream or vob?", and cleartool mkview

cleartool mkview -tag myview -stream MyStream@/vobs:MyPVob \\path\to\viewstorage\your-username_dynview.vws

See also "Creation of Integration View".

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Hi VonC What is myview and MyStream pointed out, can you please provided any example command and show to get those keywords – max Aug 05 '22 at 10:51
  • @max You need to replace `MyView` with the name of your View, and `MyStream` with the name of your Stream, and `MyPVob` with the name of your PVob. In other words, the example is in the answer, with placeholder values to be replaced accordingly. – VonC Aug 05 '22 at 13:24
  • Hi VonC How to verify view's occurence before creation? it should return a boolean value – max Aug 09 '22 at 12:59
  • @max I mentioned that in 2011, I believe: https://stackoverflow.com/a/8602428/6309 – VonC Aug 09 '22 at 13:40