cleartool

How to unmount unwanted VOBs ( large number of VOBs) from clearcase dynamic views in windows

China☆狼群 提交于 2019-12-06 07:40:44
问题 My project uses clearcase 8. we have around 10 dynamic views ( streams ). Each dyanamic view contains 5 VOBs. After importing these dynamic views in windows clearcase explorer, all the 50 VOBs are appearing under each and every dynamic view ( though majority of the irrelevant VOBs contains just lost+found directory under it). Once I have manually unmounted all of the irrelevant VOBs from the corresponding dynamic views but after a restart of my PC all the VOBs are appearing again every where.

How can I quickly checkin a large number of files in clearcase

你说的曾经没有我的故事 提交于 2019-12-06 05:22:37
I have a large number of files that I am trying to check in. This process needs to be done several times and is time and resource consuming. I am using the follow command to do this: cleartool lsco -cvi -all -s | awk '{print "cleartool ci -c \"<Name of checkin>\" " <path to vob> | sh This command does work, but it takes a very long time to run, as each file is checked in individually. Is it possible to checkin all files at once, or perhaps a faster method of checkin in the files individually. Is it possible to use the same concept, but for a mass checkout? VonC As I mentioned in " What are the

How to find the username who created latest version of element in clearcase?

橙三吉。 提交于 2019-12-06 05:08:40
I am often getting a request like this. " Find the list of files changed from particular day". I got answer to this as example given below "cleartool find <Vobtag> -version "{brtype(IntegrationStream) && created_since(13-Jan.8:30)}" -print" But few people are asking "Find the list of files changed and by whom". So that they can pin down the developer name and assign him the task to resolve issues. Is it possible to pipeline the above command and find the user who made that version also? You should be able to add to your find query a created_by member. See the query language man page . created

Automatic merge in clearcase using cleartool findmerge command

断了今生、忘了曾经 提交于 2019-12-06 03:17:27
I'm writing a script to automate some merge operations and I'd like to do it using this command: cleartool findmerge file_name -fver /main/branch_name/LATEST -merge -log NUL -c "Automatic merge" The thing is, sometimes I get this message and I have to press enter to continue the process: Needs Merge "file_path" [to _branch_ from _another_branch_ base _yet_another_branch_] Any way to avoid this? The problem with findmerge , as this technote describes, is that it can report back inconsistent " Needs Merge " depending on the location of merge hyperlinks. And that isn't likely to be fixed anytime

Jenkins creating a view in ClearCase

孤街浪徒 提交于 2019-12-06 01:14:13
I'm working on an automatic build using Jenkins and ClearCase and I have a problem. I wrote a batch script to create a view in ClearCase using the cleartool command mkview. When I execute the script by clicking on it, everything works, the view is created in ClearCase. But when I launch the script via Jenkins, I have the following errors : C:\Program Files\Jenkins\workspace\JenkinsLecon1> "C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool.exe" mkview -sna -tag AUTOBUILD_VIEW_TEST1_CFW_INFRA_V5.10_Dev -str CFW_INFRA_V5.10_Dev@\projects -host sasla15001 -hpath d:\ClearCase_Storage\views

ClearCase; How to make a baseline with cleartool

最后都变了- 提交于 2019-12-05 20:09:13
I am currently using ClearCase over a remote network and it is painfully slow. It takes forever just to browse to the stream that I want to make a baseline of. Is there a quick, easy, and safe way to make a baseline from the cleartool interface of a specific stream? Thanks, Ian VonC The basic command, from cleartool man mkbl : cleartool mkbl -view anUCMView aBaselineName You need a view associated to your target Stream to apply the baseline. I recommend using the -full option, in order to create a full baseline (rather than an incremental one by default). Using a snapshot or a dynamic view for

cleartool: how to write the result from command find to a text file

落爺英雄遲暮 提交于 2019-12-05 14:44:16
I am trying to find all the files under gt.BridgeGov branch in my view find \gtGov -all -version "brtype(gt.BridgeGov)" -print This statement works fine and list all the files under branch gt.BridgeGov. I am getting the list on console, but I want to redirect result to text file. I tried the following find \gtGov -all -version "brtype(gt.BridgeGov)" > myFile.txt find \gtGov -all -version "brtype(gt.BridgeGov)" >> myFile.txt Its throwing me an error cleartool: Error: Extra arguments: ">" How can redirect the result to a text file? -Update: find \gtGov -all -version "brtype(gt.BridgeGov)" -print

How to list all my check-ins using ClearCase?

走远了吗. 提交于 2019-12-05 13:22:00
问题 Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows. Thanks in advance. 回答1: This would involved a cleartool find command with: an -exec directive to describe the versions found a -fmt to better format the result a -created_by query language operator to restrict the results to only your checkins versions. You can either display all

ClearCase: Find files having exactly one specific label and not more

拈花ヽ惹草 提交于 2019-12-05 09:30:44
I'd like to find files in ClearCase that are labeled with a specific label but that do not have any other labels set . For example, if I have files labeled like this: file1 LBL_A, LBL_B file2 LBL_A I'd like to have a query that gives me just file2 and not file1. Is there a way to do this with cleartool find? If this is not possible to do with a single query, I'd also be happy for any ideas how to do this in several steps (I'll be calling cleartool from a perl script, so it will be easy to save lists of files temporarily and run further commands on them). Thanks a lot in advance! Jan Assuming

clearcase findmerge supress new element/directory

◇◆丶佛笑我妖孽 提交于 2019-12-04 18:19:40
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 a_view -type d -merge I am getting output as: d:\b_view B - View -------Folder_1-->test.bat(Merged file) -------Folder_2 -------Folder_3 (Merged directory) which is ok as per findmerge behavious, But I want to merge only existing folder, i.e Folder_1 should be only merged and new elements Folder_3 should be suppressed (should not be merged) How can we do