cleartool

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

£可爱£侵袭症+ 提交于 2019-12-08 05:08:26
问题 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 回答1: There is no equivalent to a git log -S or -G (pickaxe search) in ClearCase. The closest is to parse out the result of a cleartool annotate (as seen in the OP's previous question). You can annotate a specific revision by using the extended pathname as the pname argument (for example, foo.c@@\main\bug405 ) Then you can grep the output of

Cleartool findmerge error

蓝咒 提交于 2019-12-08 04:48:48
问题 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

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

て烟熏妆下的殇ゞ 提交于 2019-12-08 04:05:45
问题 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 "%ACTIVITY%">streaminfo_%timestamp%.txt where %timestamp% is a variable that contains the date and time, making each call unique. 98% of the time I have no problems. The remaining 2%, however, is when cleartool crashes leaving a locked 0KB file that causes the CMD

clearcase symbolic link file not visible from a snapshot view

本小妞迷上赌 提交于 2019-12-08 03:33:11
问题 I have created a symbolic link (see below) to a version controlled file from a different vob ( VOB_II ) and the file is visible from a dynamic view whereas it’s not visible from the UCM snapshot view. A.txt --> ..\..\..\VOB_II\SampleDir\A.txt I have the following selection and load rules. element \VOB_II\SampleDir\A.txt ...\branch1\LATEST load \VOB_II\ SampleDir Any ideas why the file is not getting loaded in the snapshot view? I could not figure out what’s wrong. Any help or inputs are much

Where do new elements appear when mkelem is used?

末鹿安然 提交于 2019-12-08 03:31:25
问题 My config spec is set up as: element * CHECKEDOUT element * .../BRANCH/LATEST element * baseline -mkbranch(BRANCH) element * /main/LATEST When I make a new element I know it goes along with the rule /main/LATEST. When I do a cleartool ls I can find the new element, but how can I find the new element with a cleartool find command. Also this is assuming the new element has been checked in and all existing elements that where checked out under the branch have been checked in. The new element

ClearCase [cleartool] commands error messages and error handling

末鹿安然 提交于 2019-12-08 03:16:24
I'm writing a program that automates some frequently used actions in my development area, this tasks involve running cleartool commands from a shell script (by java runtime). is there any documentation to cleartool/clearcase commands error messages/exit values and causes? i would like to parse the process output and handle issues/return a response based on that. is there an easier way to combine java and clearcase than executing shell scripts from the java runtime ? i could not find any clearcase packages for java that actually does the work... P.S im only running basic commands... checkout

Can we create Labels in perforce

余生长醉 提交于 2019-12-08 03:07:56
问题 I am working in a project. We use both clearcase and perforce. As we are working on differnet builds, In clearcase we create a label for each release. Say for release "X", we create a clearcase case "Label X". Label X is having all the latest files with respect to release "X". When we finish another release say "Y", we create another label say "Label Y". Label "Y" is again having all the files for release "Y". But at any point of time we can go back to "Label X" .It means all the files will

Powershell to do Clearcase checkin ,checkout,find command?

强颜欢笑 提交于 2019-12-08 02:28:00
问题 How to do check-in /check-out /Find and etc operation in Clearcase UCM using powershell. Is there any way custom cmd-lets are available for this? 回答1: For more advanced functionality and better response times, I'd recommend accessing the CAL API directly via COM. The best documentation for that is available locally in <ClearCase install dir>\bin\cc_cal.chm . $cc = New-Object -COM ClearCase.Application $ccItem = $cc.Version("<absolute path to file/dir>") $coItem = $ccItem.CheckOut($cc

How to find the view location in my linux home dir

梦想与她 提交于 2019-12-08 01:26:30
问题 I have many views in my Linux home dir under different folders mentioned below. Home CCVIEWS views Development testproject : : etc. Now i want to list all the clearcase views in my linux dir in below format to work on other script. user_test_Work1.vws user_test_Work2.vws user_dev_Work1.vws user_newproject_Work.vws user_cqfix.vws How to search all the views in my home directory created by me and display the list of the views in shell script? Current at a time I can display one folder views but

Cleartool - find unloaded/removed files

痴心易碎 提交于 2019-12-07 23:53:02
问题 Is there a command in Cleartool which i can use to list all files which have been removed from a branch? Thanks 回答1: The basic command to find anything in ClearCase is... cleartool find, also illustrated in "ClearCase UCM: Need to See Content of Deleted File". In your case, you would search for versions of files which aren't at the LATEST of a branch: cleartool find . -type f -version "! version(.../BRANCH/LATEST)" -print (see version selector for more on this ' .../ ' notation) To display