Creating a component for storing elements using Rational® ClearCase® LT (UNIX)

To create a VOB and its one component in ClearCase, you must perform the following tasks:

  1. Create a view using the cleartool mkview -stgloc command.
  2. Change to the view using the cd command.
  3. Create a VOB using the cleartool mkvob command.
  4. Create a component using the cleartool mkcomp command.

The exercise guides you in accomplishing these tasks.

Try it!

  1. Create a view named compview by typing this command:

    cleartool mkview -stgloc compview /var/tmp/compview.vws

    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 
  2. Change to the view:

    cd /var/tmp/compview

  3. Create a VOB to store the elements:

    cleartool mkvob -nc -tag /var/tmp/your-username_elements_vob -stgloc \ /var/tmp/your-username_elements_vob.vbs

  4. Create a component in the elements VOB and associate it with the UCM PVOB:

    cleartool mkcomp -nc -root /var/tmp/your-username_elements_vob tutcomp@/var/tmp/your-username_tutcomp_ucm_pvob.

    The system's response is similar to this:

    Set Admin VOB for component "tutcomp"'s VOB
    Created component "tutcomp" 

Where Am I?

So far, you have completed the following tasks:

Your next task is that of creating the UCM project.


Feedback