ClearCase

CLEAR CASE - UCM SETUP That can be used for Testing a customer like environment
following commands need to be executed for
  • Creating a server storage directory.



    • Create a directory structure like ...\cc_stg_loc\vobs  and ...\cc_stg_loc\views and share woth public rwx access
    • use 'mkstgloc' to create server storage references. once created they will look like below when we execute 'lsstgloc'
       ccvobs               \\\cc_stg_loc\vobs
       ccviews              \\\cc_stg_loc\views
  • Creating Project Vob.cleartool> mkvob -tag \pvob -ucmproject -nc -public -password -stgloc
     ccvobs
  • Creating Compoment Vob.
     
    mkvob -tag \c1vob1 -nc -public -password -stgloc ccvobs
      mkvob -tag \c1vob2 -nc -public -password -stgloc vvobs
  • Creating a Dynamic View for setup work
     cleartool> mkview -tag dview -stgloc ccviews
  • Enabling the VOBs to containg Multiple component vob.
    cleartool> co -nc M:\dview1\c1vob1
    cleartool> mkdir -nc comp1_dire
    cleartool> ci -nc M:\dview1\c1vob1
    cleartool> co -nc M:\dview1\c1vob2
    cleartool> mkdir -nc comp2_dire
    cleartool> ci -nc M:\dview1\c1vob2
  • Creating the Components in the VOB
    cleartool> mkcomp -nc -root M:\dview1\c1vob1\comp1_dire comp1@\pvob
    cleartool> mkcomp -nc -root M:\dview1\c1vob2\comp2_dire comp2@\pvob
  • Finally Once we are done the setup will look like this
    cleartool> lsview
    * dview1               \\\cc_stg_loc\views\SVT-WINXP234\Administrato
    r\dview1.vws
    cleartool> lsvob
    * \pvob                \\\cc_stg_loc\vobs\pvob.vbs public (ucmvob)
    * \c1vob1              \\\cc_stg_loc\vobs\c1vob1.vbs public
    * \c1vob2              \\\cc_stg_loc\vobs\c1vob2.vbs public
    cleartool> lscomp
    2010-06-18T16:29:23+05:30  comp1  Administrator
      root directory: "\c1vob1\comp1_dire"
    2010-06-18T16:32:50+05:30  comp2  Administrator
      root directory: "\c1vob2\comp2_dire"


    For Clear Case Command Reference