Questions tagged [config-spec]
34 questions
2
votes
2 answers
Can we omit element * /main/LATEST in the config spec of base clear case project?
In a base clear case project that I have, the config spec handed to me reads like this:
element * CHECKEDOUT
element * .../PROJ_1.5.0/LATEST
element * .../main/LATEST -mkbranch PROJ_1.5.0
element * /main/LATEST
I read up a bit on config specs here…

Victor
- 16,609
- 71
- 229
- 409
2
votes
1 answer
Branch only on specific extensions in clearcase
I am attempting to write a configspec which will only branch on certain file types (I.E. Docs can be painful so we wish to avoid those).
Right now I have the following extensions:
*.txt and *.pl (for example)
I have tried:
element *…

onaclov2000
- 5,741
- 9
- 40
- 54
1
vote
1 answer
How can I select a specific version of the root folder (.) in a snapshot view (Base ClearCase 7.1.2.9, no UCM)?
Stumbled over this at work yesterday: I have a small VOB and created a snapshot view to access the data (source files) in it. If I give the ConfigSpec as:
load /vob/extern
element * CHECKEDOUT
element * /main/LATEST
, I will see all elements in…

dirkbaechle
- 3,984
- 14
- 17
1
vote
2 answers
Can I add comments in a config_spec file?
Does the ClearCase config_spec file syntax support single-line or multi-line comments? If so, how do we mark them?

einpoklum
- 118,144
- 57
- 340
- 684
1
vote
1 answer
Can I use `setcs` to set a configspec to a variable?
Background
In clearcase, the command setcs is used in the following examples:
Change the config spec of the current view to the contents of file cspec_REL3.
cmd-context setcs cspec_REL3
Change the config spec of the view whose view tag is…

isakbob
- 1,439
- 2
- 17
- 39
1
vote
2 answers
How do I view the older versions of a config spec file?
Background
You can view the version history of a file graphically with the command:
ct lsvtree -gra
Or textually with:
ct lshist
In addition, the current configspec file can be viewed with:
ct edcs
Problem
I am trying to view…

isakbob
- 1,439
- 2
- 17
- 39
1
vote
1 answer
Jenkins not reading ClearCase config spec from file
I am using the ClearCase plugin with Jenkins, and am attempting to read a config spec from a file in the ClearCase VOB. The file with the config spec is on the server which Jenkins runs on, and in the build step I ran
for /f "tokens=*" %%a in…

Christian Bouwense
- 165
- 11
1
vote
1 answer
ClearCase Snapshot View Not Updating
I am using ClearCase for the first time, and am having a little trouble understanding snapshot views. I have a view with the config spec
element * CHECKEDOUT
element * /main/dev/LATEST
load "\project\dir1"
load "\project\dir2"
load…

Christian Bouwense
- 165
- 11
1
vote
1 answer
Adding only user-words to Tesseract
I am using Tesseract in my android application. I defined my "user-words" file and I added the bold line for ocr to consider user-words file.
String language = "deu";
datapath = getFilesDir()+ "/tesseract/";
Tess = new TessBaseAPI();
checkFile(new…

MKH
- 153
- 1
- 3
- 15
1
vote
1 answer
How can I apply a label to elements selected by a particular configspec rule in ClearCase?
I need to apply a label to a particular set of elements in a VOB that are selected by a line in my configspec. I have other lines as well, in my configspec.
For example, let's say here's my configspec.
element * .../bugfixesApril/LATEST
element *…

Gavin
- 91
- 1
- 9
1
vote
1 answer
text_file_delta failed create_version operation in clearcase
Continuing my previous post: Provide version to independent files in clearcase. Now I able to execute clear case import command but with some errors. Following are some errors occurred while import:
clearfsimport: Error: Could not checkin…

Santosh Dhanawade
- 1,756
- 14
- 29
1
vote
1 answer
Provide version to independent files in clearcase
I recently started usage of clear case tools for maintenance of code in better way. But after some days my "Company" forgot to take licence from IBM as result I cannot CHECK-IN my code into clearcase. To continue my coding i created a separate…

Santosh Dhanawade
- 1,756
- 14
- 29
1
vote
2 answers
Clearcase UCM - How to get the config spec of a given baseline?
I'd like to set-up a non-UCM clearcase (read only) view for debugging an issue reported on a old baseline which was delivered to customer.
How to view/retrieve/generate the config spec of the old baseline? so that I use this config spec to create…

user3214692
- 51
- 6
1
vote
1 answer
ClearCase delay in showing latest config spec
Are you aware of any issues with delays in changes to view configuration specifications being reflected in ClearCase explorer etc?
Added following line in a text file and included in the config spec.
element * CHECKEDOUT
element * /main/LATEST
In…

maestromani
- 841
- 1
- 9
- 31
1
vote
1 answer
Config spec for UCM components
this is kind of a follow up to this question: ClearCase UCM: Get latest version from Dev-stream
I need a dynamic view to have the LATEST (or CHECKED_OUT) version of certain components of a UCM VOB and at the same time specific baselines for other…

user2606240
- 641
- 1
- 6
- 20