clearcase-ucm

how to find root[folder] for each component using cleartool?

放肆的年华 提交于 2019-12-17 16:53:38
问题 How to find root folder in which a component is associated? I am able to find it manually through project explorer -> Components-> properties How to do it using cleartool command. I need it as i need to create config spec which can be applied in base clearcase view and view the UCM view contents. 回答1: Have a look to the options of "Format strings for command output" (fmt_ccase): cleartool descr -fmt "%[root_dir]p" component:aComponent@\aPVob You can get that way to root directory (usually

How to delete clearcase views created by other users?

给你一囗甜甜゛ 提交于 2019-12-17 13:05:33
问题 My friend who recently left our organisation also left his ClearCase view undeleted. Now we wanted to delete it. I was trying to delete but it did not allow. It said: Unable to remove "\\hostname\viewsharefolder\Viewname.vws" Operation not permitted Can administrator only delete his views? If I deleted the ( .vws ) folder associated with view, for ex: " Components_int.vws ", will it be enough? 回答1: Yes you can (for any view, snapshot or dynamic, UCM or base ClearCase). You also can remove it

Clearcase UCM is trying to merge pdf files

佐手、 提交于 2019-12-17 06:57:07
问题 While delivering to integration stream , Clearcase UCM is trying to merge pdf files and fails. As PDF files no need to be merged, how to solve this? Is it a defect in Clearcase UCM? any work around is there or some policy settings needs to be set to solve this? 回答1: If you don't want to merge a specific type of file, you can change its type to a "copy merge" policy (ClearCase will copy the source over the destination) cleartool find . -name '*.jar' -exec 'cleartool chtype "COPY_MERGE"

How to list only the name of the baselines in UCM ClearCase?

烈酒焚心 提交于 2019-12-13 12:12:24
问题 If I do: cleartool lsbl -stream stream:mystream@\mypvob That will lists the baselines with details. But I want to list only the name of the baselines. Is there anyway I can do that? 回答1: You can use the fmt_ccase options in order to format the result of a cleartool lsbl command. cleartool lsbl -fmt "%n\n" -stream stream:mystream@\mypvob 回答2: Here two examples in python, found on snip2code.com 1) Get the foundation baseline of a stream import os working_stream = "myStream" pvob = "MyVobs"

How to make cleartool tell if source is modified since last baseline

倖福魔咒の 提交于 2019-12-13 00:23:23
问题 For build logging, I am able to obtain the current stream and last baseline by means of cleartool (as detailed in "How to obtain UCM stream and baseline with cleartool"). But this is only unambiguous if I can also tell that no changes were made since the last baseline. So: how can I make cleartool tell me if changes have been applied since the last baseline? Bonus question: does ClearCase terminology have a name for this (whether or not the baseline is "untouched")? 回答1: To see if a stream

search the output line and save in variable

泄露秘密 提交于 2019-12-12 23:10:23
问题 How to search word of the output of a shell script and save in other variable . Below command will display the list of baselines in my view . cmd :cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME Output : baseline:MHC_BUILDTREE1.0.1 baseline:JEPG_DUIF_CI baseline:MOR_BuildTree_BLD_I.0.1 I need to search the line which contains "MOR_BuildTree" and that output line i have to save in one variable to execute the rest of the commands . Can any one give the suggestion ? 回答1: Not exactly

UCM ClearCase error while delivery

随声附和 提交于 2019-12-11 09:53:24
问题 I have been seeing this error for the past couple of days. I am not able to make any further deliveries because of this. This happened when I tried to deliver some dlls and exes(binary files) form my stream to the main stream. The delivery failed because ClearCase cannot merge binary files. I am not able to "Resume the Delivery" or "Cancel the delivery". The same error crops up all the time. I tried to look into the Integration view and found the binary files "hijacked". I undid the hijack.

Activity becomes undeliverable as folder in it was delivered. What could be the remedy?

依然范特西╮ 提交于 2019-12-11 09:24:45
问题 We are having 2 development stream and an integration stream in our project. Following are the streams ProjName-Int-Stream Bangalore-Dev-Team Madurai-Dev-Team Bangalore-Dev-Team member deleted a folder and created a new folder with the same name(Uncataloged the folder and created the same). Then he added more files into it and delivered it to integration stream. Madurai team member was working in the same folder and unaware that Bangalore member deleted it. Now his activity is not listed

Keep element history when relocating elements between UCM components

允我心安 提交于 2019-12-11 08:25:43
问题 For a variety of terrible yet neccessary reasons, our project needs to split a UCM VOB into multiple UCM VOBs. We currently have the follow VOB/component structure: /vobs/companyA/teamA/dev /vobs/companyA/teamB/dev /vobs/companyB/teamC/dev We are restructuring into the following structure: /vobs/teamA/dev /vobs/teamB/dev /vobs/teamC/dev Is there any way to move/relocate the elements to the new components in the new VOB and retain the elements' history? 回答1: The command to do that is cleartool

How to get the list of the checkin files between two clearcase ucm lables in unix

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 07:36:55
问题 In clearcase UCM how to get the list of the checkin files between two baselines in linux ? I am using the shell script but it's getting strucked while running the below command ? How to redirect the out put to a text or word file ? cleartool diffbl -act -ver label1 label1 >> data.txt 回答1: Note: if your baselines are full, you could use a find query which might redirect in a text file better through the -print option. See "Find changes between labels". Otherwise, the technote "Additional