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

Clear quest - Need to query Named lists

My requirement: i need to add a new value to the Named lists(in CQ, edit ->Named lists ->Build Number) using cq perl. Please help me in this.
vasu
  • 97
  • 10
1
vote
1 answer

commandline to merge in a directory for more than one file?

I have been running the following to merge from another branch to mine in clearcase: cleartool merge -to file.C -ver /main/otherBranch/LATEST but when I'm in a particular directory and I want to merge anything that has changed in that directory how…
Palace Chan
  • 8,845
  • 11
  • 41
  • 93
1
vote
1 answer

What could cause cleartool.exe to crash when being executed using CMD batch script?

I have a batch script that calls cleartool to execute the lsactivity command after being triggered by a checkin operation. Results from the call are written to an output file. The line in my batch is: cleartool lsactivity -long…
Andrew
  • 293
  • 6
  • 14
1
vote
1 answer

Not able to access the WEB views using cleartool command

I created a web view on a branch in Clear team explorer and i got all the elements to my local directory C:\Documents and settings\view1\vob\src. Now the problem is i want find the labels and the last modified date of the elements present in the…
Ramesh
  • 123
  • 2
  • 5
  • 15
1
vote
1 answer

Why does a Deleted File Magically Reappear During Batch Script Execution?

I have a batch script that creates a file through a cleartool command. Basically ClearCase activity information is read to file and analysed. After analysis, the file is deleted. All is good. Later in the script an FTP command (using PSFTP) is…
Andrew
  • 293
  • 6
  • 14
1
vote
1 answer

ClearTool windows vs unix behaves different

I used ClearCase/ClearTool several years ago in an unix env. Now I'm in a Windows env. The following unix cleartool command will display a version tree for each unit on my_branch all at once. For example, if I have 5 units on my_branch, 5 version…
daveinvan
  • 11
  • 1
1
vote
1 answer

How can I update my branch from main and accept all of their changes in clearcase?

I grabbed a file and did: rm -f theFile.C && ct update . to watch it get reloaded. Then I went to a different snapshot view of main and ran ct update . and the files differ. I am very perplexed about this given after doing that I would expect them…
Palace Chan
  • 8,845
  • 11
  • 41
  • 93
1
vote
1 answer

Find moved files in ClearCase activities

I'm writing a script which converts a project in my workplace from ClearCase to Mercurial + Jira. I'm having problems with moved files. I'm using 'lsact -long' to get files changed in an activity. The problem is that when, for instance, a directory…
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
1
vote
1 answer

How can I bypass a clearcase "file already exists" error?

I try to add a file in a branch to source control by doing this: ct mkelem -ci -nc and I get this error: File already exists in "other_branch" branch. Resolution: Since this file already exisit in ClearCase you will have to, selectively, merge this…
Palace Chan
  • 8,845
  • 11
  • 41
  • 93
1
vote
2 answers

How to get a full description of an activity in cleartool?

I used ClearQuest to export a query to a csv containing information about all my developer activities. However, the description is truncated. Is there a cleartool command that can output the full description of a given activity?
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
1
vote
1 answer

Running multiple commands in a single cleartool session from a script?

Question The cleartool documentation mentions a "Single command mode" and an "Interactive mode". Single command mode lets you run a single command non-interactively. Interactive mode lets you run multiple commands within an interactive session? I…
Kevin K
  • 9,344
  • 3
  • 37
  • 62
1
vote
2 answers

Finding which developer activities were delivered in a specific delivery

In ClearCase, how do I find which developer activities were delivered in a specific delivery? Doing lscat -long On either activity doesn't reveal this information.
Amir Rachum
  • 76,817
  • 74
  • 166
  • 248
1
vote
1 answer

What clearcase command I should use to to get who checked in last?

I am new to ClearCase, and I need to get who check-in a particular file last (ie: latest version). I know the absolute path for the file. What command do you recommend for me to access the user (ie the creator of the LATEST version) for that file?
vasu
  • 97
  • 10
1
vote
2 answers

Is cleartool output localized?

From what I discovered in my last question, I am now attempting to parse the output from lstype -l in order to determine the supertype and type manager for a given element type. My initial thought is to process the output line-by-line and look for…
Kevin K
  • 9,344
  • 3
  • 37
  • 62
1
vote
1 answer

List of directories off of the root of VOB in cleartool

If I am in a vob (pwd command displays the correct vob) and lsvob returns some info about the vob, how can I get a list of all the directories from the root? The setview command has also been run. When I do ls, I get: Error: Pathname is…
amphibient
  • 29,770
  • 54
  • 146
  • 240