Questions tagged [config-spec]

34 questions
14
votes
2 answers

ClearCase Snapshot Views: exclude one particular directory from load statements?

Good morning, is there any way to exclude only one particular directory from a snapshot's load statement, e.g. I want to load a whole vob named 'PM_CT' except the \PM_CT\lost+found directory ... is there an elegant way to do it? And how would I…
Jörg Battermann
  • 4,044
  • 5
  • 42
  • 79
3
votes
1 answer

Config Spec to display labeled files from 2 branches

I have 2 branches 1) /main/branch1_tv - /se/ip/FolderA, folderB... 2) /main/branch1_tv/branch2_tv - /se/ip/FolderC I have created a Label [Label_1_tv]. What i want to do is have one config spec that will display all the labled folders and…
rrs
  • 31
  • 1
  • 2
3
votes
2 answers

Is it possible to use variables in a ClearCase config spec?

For example, instead of writing the following: element * .../my_branch_01/LATEST element * .../base_branch/LATEST -mkbranch my_branch_01 I would want to write something like this: MY_BRANCH=my_branch_01 element * .../%MY_BRANCH%/LATEST element *…
LeopardSkinPillBoxHat
  • 28,915
  • 15
  • 75
  • 111
3
votes
1 answer

ClearCase time and query

This config-spec show the files I need: element -dir * '{version(/main/LATEST) && !version(SLT-T)}' element -file * '{version(/main/LATEST) && !version(SLT)}' Now I need to see how the source looked at some point in the future, so I do this: time…
myplacedk
  • 1,574
  • 2
  • 14
  • 19
3
votes
1 answer

Clearcase config spec time rules

I try to understand how reliable are the time rules of ClearCase 8.0.1.4 when used in config spec. So, when I specify a time in config spec, will it be taken before not including the specified time stamp? or will it take the before and including…
DeadStar
  • 99
  • 1
  • 7
3
votes
1 answer

How to hide folders except mentioned in config spec?

We are trying to have only few folders in our dynamic view. For that we have written clearcase config spec like below. element * CHECKEDOUT element /Process/Projects/OurProject\... /main/LATEST element "/Process/Projects/OurProject 100/..."…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
2
votes
1 answer

Centralized Config Spec for ClearCase Snapshot Views

We have a config spec that we use for our builds that we encourage all developers in our organization to use so that they can run any task in our build without fear of failure. Every now and again we need to update that config spec to include new…
Tim Visher
  • 12,786
  • 16
  • 58
  • 66
2
votes
1 answer

Prevent 'cleartool.exe update' on snapshotview to leave .keep files & folders?

Is there any way to update a CC snapshot view (after changing the config spec) with the newer config spec removing some files from the view that existed with the previous config spec? Basically what happens is that after the update I have numerous…
Jörg Battermann
  • 4,044
  • 5
  • 42
  • 79
2
votes
1 answer

clearcase create a branch into another branch

I have a branch created into the main with this config spec: element * CHECKEDOUT element * /main/teste_branch_nv0/LATEST element * /main/LATEST -mkbranch teste_branch_nv0 element * /main/LATEST Now, I want to create other branch into this branch.…
2
votes
2 answers

ClearCase config spec selection based on element attribute

In a ClearCase config spec, is it possible to select versions based on element attributres (not version attributes)? For instance: element * ...{SOME_ELEM_ATTR==SOME_VALUE&&lbtype(MY_LABEL1)} This doesn't work because the last part of the…
Ray Balogh
  • 161
  • 1
  • 1
  • 4
2
votes
1 answer

ClearCase Config Spec: load only files with specific label from certain directory

Suppose I have a VOB foo/. In this VOB lies a directory bar/ which contains labeled and non-labeled files. But bar/ is not the only directory in foo/, but all others don't have labeled files. Is there a way to write a config spec with the following…
dudenr33
  • 1,119
  • 1
  • 10
  • 26
2
votes
1 answer

How to use user-words in Tesseract (Java)?

I am using Tesseract for OCR purposes and I have added few additional words into "fin.user-words" (I would like to avoid creating a new word list and replacing tessdata/fin.word-dawg with it). Now, I succeeded doing it in command prompt: >tesseract…
ABData
  • 23
  • 1
  • 5
2
votes
1 answer

ClearCase: Is it possible to version control the config spec itself?

I have complicated Config Spec, which changes quite often. Is it possible to version control the config spec itself? e.g., suppose the current config spec is: element * CHECKEDOUT element /vobs/a/b/c.v /main/34 element /vobs/a/d/e.v …
Zvika
  • 1,542
  • 2
  • 17
  • 21
2
votes
1 answer

How to hide irrelevant vobs in clearcase dynamic views (in windows)?

1st post here so I hope I'm not breaking any rules. To the point: I work on multiple projects and therefore may have multiple vobs mounted at any given time that are unrelated to the view that i want to work on at the moment. This causes each view…
stefanos
  • 105
  • 6
2
votes
1 answer

ClearCase UCM: Get latest version from Dev-stream

I'm stuck over the config spec for a dynamic view. I try to get the latest version of a folder of a UCM stream from the Dev-stream into another (Base) dynamic view. My idea would have been to do a element PathToFolder/...…
user2606240
  • 641
  • 1
  • 6
  • 20
1
2 3