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

cleartool find & describe -fmt, how to redirect output to a file?

On Windows I’m trying to run cleartool find command and get all versions in a branch that have a specific label, the output should include version and user name. The command works great the problem is how to to redirect the output to a text file. …
Epligam
  • 741
  • 2
  • 14
  • 36
1
vote
1 answer

Is there a way to get the line number which have added in the cleartool annotate command

I want the line number which has been added or changed in the particular revision or corresponding to particular comment.how can i do that in cleartool
Akshay jain
  • 555
  • 1
  • 7
  • 22
1
vote
1 answer

How to annotate a folder in cleartool

I am trying to annotate a folder with command cleartool annotate folderName getting error cleartool: Error: Unable to create file "test_tut_element_vob.ann": Permission denied. I am able to annotate the files.
Akshay jain
  • 555
  • 1
  • 7
  • 22
1
vote
1 answer

How to mount a remote vob in dynamic view on clearcase

Trying to mount a remote vob on my dynamic view but getting Error when applying command cleartool lsvob getting this vob in the list and it is public command i am trying is cleartool mount \clinical cleartool: Error: The VOB storage directory…
Akshay jain
  • 555
  • 1
  • 7
  • 22
1
vote
1 answer

How to get list of activities included in new ClearCase baseline from commandline?

When making baseline manually, it shows the "Make Baseline" dialog with list of activities to include in new baseline. How to get that list from commandline (from cleartool or other tool, in Windows and Linux)?
1
vote
1 answer

Trying to apply a clearcase command to all files in a list of filenames in a text file

I need to re-label a list of specific files. I have those filenames (with full paths) in a text file. How do I pipe the contents of the text file into a cleartool command? I found the following online but didn't work, as the ls command lists the…
falconK
  • 271
  • 1
  • 2
  • 11
1
vote
2 answers

How to get into a vob on rcleartool

I have type the lsvob command in rcleartool and it is giving me the list of vob's. Now how to get into a particular vob? I am trying cd /clinical but getting error: CRCLI2027E Unable to change directory to "/clinical": No such directory.
Akshay jain
  • 555
  • 1
  • 7
  • 22
1
vote
2 answers

Using python to check out a file (cleartool)

I'm wondering how to completely automate a checkout. I've tried os.system('cleartool co ' + pathname) but that still prompts me to enter a comment about the checkout. Adding more os.system() commands right after doesn't quite work -- they…
Jon
  • 121
  • 1
  • 10
1
vote
1 answer

How to get the logs in XML file in cleartool. I want the output of command cleartool lshistory in XML file

I am trying command cleartool lshistory > file.txt through this I am getting the file in text format similarly I want the log file in XML format.
Akshay jain
  • 555
  • 1
  • 7
  • 22
1
vote
2 answers

ClearCase - Find invisible versions of elements under a certain path

I am trying to find all versions on a particular branch, but the config spec of my working view should not matter (I want to work in a view with /main/LATEST). I am working on Windows. Assuming that the version has been created before 27.May.17:47…
Jonas
  • 31
  • 3
1
vote
1 answer

Appending line in file when changes were made

I am looking for a file comparison tool (like WinMerge) that will compare the text of the files AND on the lines that were changed let me append a comment to the end of the line such as "//changed by bob". The file would then be saved with the…
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
2 answers

Finding a element version in ClearCase that exists in only certain versions of its parent directory

Here is the situation. Let's say I have a file, "foo.cpp". Its parent directory is /path/to/foo/ . /vobs/myvob/path/to/foo@@/main/release/1 DOES NOT contain foo.cpp /vobs/myvob/path/to/foo@@/main/release/2 DOES contain…
livefree75
  • 720
  • 8
  • 18
1
vote
2 answers

error in clearcase 8.0 :premature eof

I Recently installed clear case 8.0 in my laptop both the stand alone and integrated versions (integration with data stage). I created a view using the option "create a view on existing UCM stream". When I select the folders from the project VOB I…
dna
  • 483
  • 3
  • 10
  • 32
1
vote
1 answer

cleartool question

Lets say I have a directory at \testfolder, and the latest is currently at /main/10. I know that the operation resulting in testfolder@@/main/6 is to remove a file named test.txt. What's a sequence of cleartool operations that can be done in a…
Ying
  • 1,142
  • 2
  • 15
  • 19