Questions tagged [cleartool]

Cleartool is the command line interface of IBM Rational ClearCase toolsuit for software configuration management.

Cleartool is the primary command-line interface to ClearCase and ClearCase LT version-control and configuration management software. It has a rich set of subcommands that create, modify, and manage the information in VOBs and views.

What questions should have this tag

Question which are related to automation of clearcase using cleartool commands, integrating DOS batch or ANT/Maven/perl scripts which wish to leverage this utility for calling repetitive tasks in clearcase

Important links for learning more

339 questions
1
vote
1 answer

Clearcase error adding file

I cannot add a new file to the VOB. I tried both UI context menu on windows as well as cleartool command line utility. cleartool> checkout . Checkout comments for ".": Created branch "BRANCH_NAME" from "." version "\main\BASE_BRANCH_NAME\1". Checked…
Zorgiev
  • 794
  • 1
  • 7
  • 19
1
vote
1 answer

Get the ClearCase VOB of an activity, stream or stream location with cleartool

I'm trying to write a script to get the vob with the help of cleartool. I have the activity id, the stream name and the stream location as input. From this I need to get the vob. cleartool lsvob -short is pretty much what I need, but I only need…
Seega
  • 3,001
  • 2
  • 34
  • 48
1
vote
1 answer

Cleartool findmerge select changes from file 2 by default in all cases?

So I have a branch is that is dreadfully out of date with the rest of the world. I'd love to simply create a new branch and merge over... but that task would be even larger... anyways what I'm trying to figure out is if I can set findmerge to always…
ckcin
  • 49
  • 1
  • 6
1
vote
1 answer

Merge all files from a branch into main(using a command/script) cleartool

I want to merge all files from a particular branch to main using a script or a command. Is there a way to do it without checking out each file in target or should i do each file manually.
Learner
  • 161
  • 1
  • 3
  • 16
1
vote
1 answer

ClearCase label problems: nobody except me can observe the files I labeled

I made a branch with a cleartool cmd line utility with: cleartool> mkbrtype BRANCH_NAME cleartool> mkbranch BRANCH_NAME Next I specified mkbranch in the configspec for the view I am working with like element * .../BRANCH_NAME/LATEST mkbranch…
Zorgiev
  • 794
  • 1
  • 7
  • 19
1
vote
1 answer

Cleartool difference between -element and -version

When searching for a way to find all files in a clearcase repo that changed since date X i found two approaches cleartool find . -type f -branch "brtype(abranch)" -element "{created_since(10-Jan)}" -print as stated here and cleartool find . -type f…
x29a
  • 1,761
  • 1
  • 24
  • 43
1
vote
1 answer

Python ClearCase Download Vobs Popen Password BASH Program Sketchy

I coded this program yesterday and it was actually working except for when run by CRON. Today, I ran the same script and it does not work. The script will run without any Tracebacks Errors, and it will copy the top folder (vob) from the ClearCase…
user3808269
  • 1,321
  • 3
  • 21
  • 40
1
vote
1 answer

Obtain change set of an activity with cleartool without active view

How can I obtain the list of changed files, given that I have an activity name (and also a project and stream name)? This is what I tried: cleartool lsact -l someActivity But it returns: cleartool: Error: Unable to determine VOB for pathname…
Bram Schoenmakers
  • 1,599
  • 14
  • 19
1
vote
1 answer

How to find whether any checkin is made in clearcase for particular component since yesterday?

In our project we are having multiple components. If a component has changes [check in happened ] then that component should be taken for build. How to find whether the component is changed since yesterday or not?
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

How to obtain path to changeset predecessor version of file when file is hijacked?

Working with cleartool under UNIX, if I have a file in a snapshot view that is unmodified (e.g. still checked in, not checked out, not hijacked), I can successfully get its predecessor version with this: $ cleartool describe -predecessor -short…
user972301
  • 137
  • 8
1
vote
1 answer

Cleartool findmerge error

I'm running this command : cd into view directory cd into the relevant folder cleartool findmerge…
Alex Brodov
  • 3,365
  • 18
  • 43
  • 66
1
vote
1 answer

How to copy contents of a baseline in Clearcase UCM?

I want to copy the contents of the integration stream at a certain baseline to a directory outside CC using command line, ie. I want to "export" a baselined version to use a Subversion term. I think the way to do this is to set the view to show the…
apa64
  • 1,578
  • 1
  • 17
  • 26
1
vote
1 answer

Issue with checkvob command

Before producing the issue, checkvob gives the result The VOB's source pools are healthy Now I created some problem in source pool as shown below: cd to some source pool container [root@Server_Clearcase ~]# cd…
HITENC
  • 67
  • 7
1
vote
1 answer

cleartool support on Ubuntu without using rich client

Is there a way to get native clear case support on Ubuntu 12+? I've only seen it supported via remote rich client. We have red hat and suse machines with cleartool installed and I would like a similar set up for Ubuntu so we could re-use the same…
tworivers
  • 57
  • 3
1
vote
1 answer

Clearcase configspec for view based on composite baseline

i am working on some scripts to migrate to git. I want to make a view based on a composite baseline to commit that data. I have several baselines to 'checkout' Normal baselines I do with: element * CHECKEDOUT element * baseline -nocheckout element *…
jr00n
  • 421
  • 1
  • 6
  • 12