Version Selection :The Config Spec on Clearcase tool

If we want a view and which should consist of particular versions under VOB(Versioned Object Base)-source tree,then we should take care of configuration specifications of that view.The version is nothing but mapping into view's file name space.
we can see present Config Spec rules using ct catcs command.

And we can use ct edcs to edit the config Spec rules, or we can use similar ct sdcs set the rules.

some config spec rules are,
element * .../CCC/LATEST which makes to use the most recent version on the branch named CCC.
If we want to take some particular version which is 4 th version and latest is checkout by somebody we can use desired version include.h@@/main/4 using

element include.h /main/4

or

element include.h /main/LATEST -time 11:30 which will give selection of latest version and include the changes happen up to 11:30.

And if we want to take checked out versions also and which are lates we can use
element * CHECKEDOUT
element * /main/LATEST

If we want to create a Branch air and that has to be created from the branch airlo ,means air will have same files as airlo is having
start with ct edcs will open a file for Config Spec rules and add the lines
element * CHECKEDOUT
element * .../air/LATEST
mkbranch air
element * airlo
element * /main/LATEST
From above lines ,air branch will have the files which are latest from airlo branch which are checked in latest.

U can get info about commands at a glance at
http://www.yolinux.com/TUTORIALS/ClearcaseCommands.html
Complete Info avalble at
http://techpubs.sgi.com/library/dynaweb_docs/0620/SGI_Developer/books/ClrC_CG/sgi_html/ch04.html
U can watch IBM Rational ClearCase forum at Forumhttp://www-128.ibm.com/developerworks/forums/forum.jspa?forumID=333

No comments :

Post a Comment