To create a VOB and its one component in ClearCase, you must perform the following tasks:
The exercise guides you in accomplishing these tasks.
You are going to create a view named compview, a VOB named /var/tmp/your-username_elements_vob, and associate them with the UCM PVOB /var/tmp/your-username_cctut_ucm_pvob created earlier.
At the system prompt of a terminal window, do the following:
cleartool mkview -tag compview /var/tmp/compview.vws
The system's response is similar to this:
Created view. Host-local path: stellar:/var/tmp/compview.vws Global path: /net/stellar/var/tmp/compview.vws It has the following rights: User fhembert: rwx Group user: rwx Other: : r-x
cleartool mkvob -nc -tag /var/tmp/your-username_elements_vob \ /var/tmp/your-username_elements_vob.vbs
cleartool mkcomp -nc -root /var/tmp/your-username_elements_vob tutcomp@/var/tmp/your-username_cctut_ucm_pvob.
The -nc option indicates you do not wish to specify a comment.
The -root option specifies what type of component you are creating. As used in the command you entered, it indicates the root directory of the component is /var/tmp/your-username_elements_vob.
The system's response is similar to this:
Set Admin VOB for component "tutcomp"'s VOB Created component "tutcomp"