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

How to find list of changes delivered since yesterday from delivered activities?

I am using cleartool find command to find the list of files delivered to integration stream since previous day. Following is the command [ I am storing the result in powershell variable] $ListOfFilesChanges = cleartool find "$folderPath"…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

Enforce naming convention for UCM baselines

another question regarding ClearCase... We have about 30 developers world wide working in our UCM project. All of them can create baselines in the different components of the project. In order to have a common naming of the baselines we defined a…
user2606240
  • 641
  • 1
  • 6
  • 20
1
vote
1 answer

Integrate clearcase with Hudson

I am trying to integrate clearcase with Hudson, but auto build is not triggering while merge or checkout. Created dynamic view "sundaa4_Hudson_Test" and gave the config spec which I used in clearcase When I gave manual build its showing…
Sijith
  • 3,740
  • 17
  • 61
  • 101
1
vote
1 answer

Cleartool - How to apply label to objects' latest versions created before a specific time?

I want to apply a label to latest versions of objects that created before a specific time. For example : MyObject.java has 4 versions. - 1. version created on 2010-01-02 - 2. version created on 2010-06-25 - 3. version created on 2013-03-17 -…
akdora
  • 893
  • 1
  • 9
  • 19
1
vote
1 answer

Find Objects that have not a label in any version

I want to find objects that have not got a LABEL in any version. I can check if any object has a LABEL in its LATEST version with following command : cleartool find . -version "version(/main/LATEST) && !lbtype(MYLABEL)" -print And this command…
akdora
  • 893
  • 1
  • 9
  • 19
1
vote
1 answer

ClearTool: Finding changes from specific date

I am at loss on how to list all files and directores that were deleted from branch "xyz" on date Mar-1. List all directories that had their contents changed on that same day. I tried transcribe the patterns from Cleartool - find unloaded/removed…
Adam
  • 45
  • 5
1
vote
1 answer

How do I label new files on a branch using cleartool?

To provide some context, I am trying to write a script which will take a text file with clearcase elements in it, and label all of those elements. To generate the text file, I am basically using the following command: cleartool find -a -nxn -ele…
Ryan Latham
  • 59
  • 1
  • 8
1
vote
1 answer

Need help in picking latest element version from ClearCase stream

I have a perl script that I use to copy the modified elements to a certain folder. I use the following cleartool command: cleartool find . -version "{brtype(Branch) && created_since(28-Feb-2014) && (version(...\\Branch\\LATEST))} And then I…
1
vote
1 answer

Find Identical elements in Clearcase

In ClearCase, Due to different workflow among several developers, we ended up with some files on two branches even though they are identical; this causes unnecessary headache during rebase/merge. To remove those from one of the branch, First, I need…
1
vote
1 answer

In UCM ,how to verify whether any check in happened in a particular folder?

We are having a build script which will be running every day morning at 5 AM. It will blindly run even if no changes made. Now we would like to add this intelligence to our script. I need to verify in a particular folder whether any checkin has…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
1
vote
1 answer

Find UCM baseline history

We have used 'cleartool lsbl -fmt ...' to get baselines on our stream. We could use other ccase_fmt targets, but we want more than just the latest/most recent, and we have no need for the foundation baselines. I would like to use 'cleartool find …
1
vote
1 answer

Jenkins user permissions for clearcase checkout

I'm having an issue with checkout cleartool element from jenkins I've been trying to make cleartool checkout from jenkins and from external batch I'm running but for both I receive this error message: cleartool: Error: No permission to perform…
Sigalit
  • 209
  • 1
  • 4
  • 9
1
vote
1 answer

clearcase branch type property in command line

Can you please help with cleartool command which can display following of branch type. State --> Locked, Unlocked, or Obsolete. Locked by Locked on Description Excluded users One of the task what i'm trying to do is add few more admin…
maestromani
  • 841
  • 1
  • 9
  • 31
1
vote
1 answer

CT protect VS vob_siddump/vob_sidwalk

Several ClearCase branch type owners have left the company and there domain ID (windows environment) got deleted. Should I use cleartool protect to change owner to CCadmin account or use vob_siddump/vob_sidwalk ? I Found below in vob_sidwalk…
maestromani
  • 841
  • 1
  • 9
  • 31
1
vote
2 answers

clearcase findmerge supress new element/directory

I have two views say A and B, c:\a_view A - View -------Folder_1-->test.bat -------Folder_2 -------Folder_3 d:\b_view B - View -------Folder_1 -------Folder_2 When I do findmerge (with merge option): c:\>cleartool findmerge "d:\b_view" -ftag…