[ start | index | login ]

ConfigSpec

Created by mpecher. Last edited by mpecher, 2 years and 224 days ago. Viewed 7,435 times. #4
[diff] [history] [edit] [rdf]
labels
attachments

Configspec

The config spec tells clearcase what files from what branches you want to look at eg:
element * CHECKEDOUT
element * .../mcs_new_branch/LATEST
element * .../mcs_r1_0/LATEST -mkbranch mcs_r2_0
element * /main/LATEST  -mkbranch mcs_r2_0

How is the ConfigSpec read??

Using:
element * CHECKEDOUT (1)
element * .../mcs_new_branch/LATEST (2)
element * .../mcs_1_0/LATEST -mkbranch mcs_new_branch (3)
element * /main/LATEST  -mkbranch mcs_new_branch (4)
(1) for any element, first look at checkedout one (if it exists), then
(2) look at branch mcs_new_branch/LATEST then
(3) look at .../mcs_1_0/LATEST, if found there check in any mods to mcs_new_branch (ie. make the element at this branch)
(4) look at .../main/LATEST, if found there check in any mods to mcs_new_branch

Create a label

To create a label called MY_LABEL, within the current view:
mklabel -replace -comment "optional comment" MY_LABEL /location/of/my/view/on/filesystem

Set Configspec to use a label

To get your view to use a label:
element * CHECKEDOUT
element * .../mcs_new_branch/LATEST
element * .../mcs_1_0/MY_LABEL -mkbranch mcs_new_branch
element * /main/LATEST  -mkbranch mcs_new_branch
This config spec will now pull back the labelled version for mcs_1_0.
no comments | post comment

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< January 2009 >
SunMonTueWedThuFriSat
123
45678910
11121314151617
18192021222324
25262728293031


Logged in Users: (0)
… and 23 Guests.



Disclaimer: Views and opinions are that of the individual author, and not that of Marand Custom Solutions. This site is an open forum for technical content, and the company accepts no liability for any content or view expressed.