[ start | index | login ]

ConfigSpec

Created by mpecher. Last edited by mpecher, 4 years and 103 days ago. Viewed 9,716 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.
Please login to post a comment.

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< September 2010 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930


Logged in Users: (0)
… and 25 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.