[ start | index | login ]

ConfigSpec

Created by mpecher. Last edited by mpecher, 2 years and 176 days ago. Viewed 6,928 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


< November 2008 >
SunMonTueWedThuFriSat
1
2345678
9101112131415
16171819202122
23242526272829
30


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