cleartool

Python ClearCase Download Vobs Popen Password BASH Program Sketchy

北城以北 提交于 2019-11-27 07:33:40
问题 I coded this program yesterday and it was actually working except for when run by CRON. Today, I ran the same script and it does not work. The script will run without any Tracebacks Errors, and it will copy the top folder (vob) from the ClearCase view, but none of the actual important data in the folders and files below the target folder. Here is my Python script. def obtainCode(view="My_VIEW", folder="/my_folder"): """Download code from ClearCase's File System and put it on the hard-drive"""

Any way to use a custom diff tool with cleartool/clearcase?

六月ゝ 毕业季﹏ 提交于 2019-11-27 06:48:04
I'd like to use my own diff when working in a clearcase snapshot view. As far as I can see, there is no way to specify a diff tool when running " cleartool diff ", so I was thinking I could run something like " mydiff <predecessor file> <modified file in my view> ", but I don't know enough about ClearCase to be able to find the "predecessor file" to diff against. Any way to do this? Forgot to mention (until now, after reading the first two responses dealing with windows) that this is on Unix, and I am not allowed to muck with the ClearCase configuration. VonC How to change default diff tools

How to merge changes from a specific UCM activity from one ClearCase stream to another

孤人 提交于 2019-11-27 03:05:57
问题 This should in theory be quite simple, i.e. merge the changes from a specific UCM activity from one stream to another. I had thought that I might just be able to use the Deliver command in the GUI and then select just the required activity to deliver, but it seems that the target stream is set to not allow deliveries from other streams. From searching the documentation it seems that I might instead be able to do this via the command line using the findmerge tool, but it's not at all clear

Proper 'cleartool mkview' for ClearCase Snapshot view creation

南楼画角 提交于 2019-11-27 02:11:57
Good afternoon, Seems like I am somewhat stuck in CC-land these days, but I have one (hopefully) final question regarding proper CC-handling: When using the CC View Creation Wizard, I can create a proper Snapshot view on my machine perfectly fine, however when trying to do the same with the mkview command, it fails... Using the the view creation wizard results into the (working) following view: cleartool> lsview battjo6r_view2 battjo6r_view2 \\Eh40yd4c\Views\battjo6r_view2.vws cleartool> lsview -long battjo6r_view2 Tag: battjo6r_view2 Global path: \\Eh40yd4c\Views\battjo6r_view2.vws Server

How to retrieve the list of files modified across base lines in clear case

假装没事ソ 提交于 2019-11-26 23:33:07
问题 I need to retrieve a list of all the files that have been checked-in across baselines along with the owner name. I tried using the cleartool lsact command : However, this command fetches just for one task and is a bit cumbersome to use. Is there a command which will retrieve all the tasks if I specify two baselines? Thanks 回答1: A command like: cleartool diffbl -act bl1@\apvob bl2@\apvob will give you the list of activities which have new versions between baselines bl1 and bl2. However, to get

how to find the list activities delivered to integration stream on a particular day?

吃可爱长大的小学妹 提交于 2019-11-26 23:25:59
问题 We use to take nightly builds irrespective of any files were delivered to integration stream or not. What i would like to do is , find the list of deliveries done on a particular day. If there were no deliveries to integration stream then build will not be triggered. Through project explorer itself we can see. but i would like to know from commands. 回答1: Any deliver in UCM will generate an activity call deliver.xxx . Simply list all activities for a given Stream (see cleartool lsact man page)

Config spec in ClearCase

荒凉一梦 提交于 2019-11-26 23:25:31
问题 I have tiny question about ClearCase. Help me please! When does config spec start to work? When I click CHECK OUT or CHECK IN ? I have test.c and I have config spec element * CHECKEDOUT element * .../branch_1/LATEST element * /main/LATEST -mkbranch branch_1 then I modify test.c , then I change config spec: element * CHECKEDOUT element * .../branch_2/LATEST element * /main/LATEST -mkbranch branch_2 Then I Check in test.c and I have: created /main/branch_1/1 . BUT WHY??? 回答1: The config spec

How to run multiple Unix commands in one shot

痴心易碎 提交于 2019-11-26 22:26:13
问题 I am trying to execute multiple commands in one shot but to my surprise only the first command is getting executed and the rest are skipped. And the command is cleartool setview view1234 ; cleartool setactivity activity456 ; cd /vobs/app/src/epw/WEB-INF/scripts ; pwd And the output of the above command is You can now run 'clearquest' to start Rational ClearQuest. But instead I'm expecting to see the following 3 lines of output: You can now run 'clearquest' to start Rational ClearQuest. Set

Describe baseline and expand deliver and rebase activities

烈酒焚心 提交于 2019-11-26 18:39:26
问题 I need to list all of the activities delivered in a baseline but need any deliver and rebase activities expanded. I have tried a script to read the lines and do an "lsact -contrib" but some of the deliveries contain nested deliveries and I have become confused. It would be useful if I could also have the date of the activity as well. I have tried experimenting with "-fmt" but with disappointing results. The reason is that the management want to identify all activities in a baseline that

How to obtain UCM stream and baseline with cleartool?

谁说我不能喝 提交于 2019-11-26 14:39:22
问题 For build logging, I need to obtain the current stream/baseline with cleartool , but I am stuck in determining which command will give me this information. How can I make cleartool tell me which stream/baseline I am currently looking at? It is no problem if the output needs preprocessing or filtering. 回答1: If you are in a view, you can: get the current stream cleartool lsstream -cview get all baselines for a component in that stream cleartool lsbl -comp myComp@\myPVob -stream myStream@\myPVob