cleartool

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

依然范特西╮ 提交于 2019-12-07 23:46:10
问题 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? 回答1:

Automatic merge in clearcase using cleartool findmerge command

狂风中的少年 提交于 2019-12-07 17:51:58
问题 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? 回答1: The problem with findmerge, as this technote describes, is that it can report back

Jenkins creating a view in ClearCase

北城余情 提交于 2019-12-07 14:13:39
问题 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

Add line to ClearCase config

三世轮回 提交于 2019-12-07 12:35:31
I am running a job on Jenkins which is used to create a view on ClearCase and the ClearCase view creates the default config spec. I want to edit the config spec by adding some more lines to it but I don't want to edit it manually every time. So I am looking to add some script to Jenkins so that it can edit the configspec every time when it runs the job. Is there anyone how is clear case expert who can task it out. Once your ClearCase view is created you need to get its config spec as a file with cleartool edcs cd /path/to/view cleartool catcs > cs You need to adds your selection rules before

What is the svn equivalent to winkin in clearcase?

旧时模样 提交于 2019-12-07 09:15:34
I am new to svn, however I am at present making the transition of some Perl scripts from ClearCase. I know that Clearcase have dynamic views, so it can access one or more derived objects (DOs) from a dynamic view, or convert a nonshareable derived object to a shareable (promoted) derived object by the cleartool command winkin . How do I replace it with an equivalent svn command, knowing that svn is static. VonC You don't: Those notion of derived object are very specific to ClearCase dynamic view. cleartool winkin accesses the data of any existing DO, and a DO does not exist in Subversion. That

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

房东的猫 提交于 2019-12-07 09:00:26
问题 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

Cleartool findmerge error

我的梦境 提交于 2019-12-07 03:22:38
I'm running this command : cd into view directory cd into the relevant folder cleartool findmerge rvnDataPathEgressProcessor.cpp@@\main\RavenAppMain_Integ\RavenApp1.5\RavenApp1.5.0.0_Integ\RavenApp1.6.0.0_Integ_OBS\RavenApp1.5.2.0_Integ\RavenApp1.5.5.0_Integ\14 -fversion rvnDataPathEgressProcessor.cpp@@\main\RavenAppMain_Integ\RavenApp1.5\RavenApp1.5.0.0_Integ\RavenApp1.6.0.0_Integ_OBS\RavenApp1.5.2.0_Integ\RavenApp1.5.5.0_Integ\aviv.sharon_RavenApp1.5.5.0\15 -print -whynot I'm getting this error: cleartool: Warning: A version selector is required, not a pathname: "rvnDataPathEgressProcessor

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

霸气de小男生 提交于 2019-12-07 03:16:47
问题 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

How to avoid the rebase command in clearTool popups a screen?

 ̄綄美尐妖づ 提交于 2019-12-06 22:26:31
I am trying to rebase a baseline using this command in ClearTool: rebase -bas [baseline_code] However, after this command, a screen pop up with this question: Do you wish to name the Deliver/Rebase activity (if no, press Enter or Cancel to use the default name) I want to avoid this screen because I want to implement it in a code, for this reason, is there any command to add in this rebase, then it can stop to show this screen? Or is there any kind of set up that I have to do in ClearCase to stop to show it? My ClearCase version is 9.0.1.0. I tried to disable some trigger that I found as

Cleartool command to list all files part of a changeset

风格不统一 提交于 2019-12-06 21:09:50
I have a requirement where I want to use Cleartool and 1. I would like to pass a chageset number to Clearcase server and would like to see all files that would be part of that Changeset 2. Pass these file names to Clearcase server and copy the latest version of the files onto my local machine. Is there a way to achieve this functionality using cleartool? Can someone please suggest the commands with the necessary parameters that needs to be passed? Thanks in advance. With ClearCase UCM, the "changeset" is part of an UCM activity To see the content (ie the list of versions modified) in an