clearcase

How do delete a file in ClearCase UCM?

守給你的承諾、 提交于 2019-12-06 16:29:13
I'm trying to delete a single version-controlled file in ClearCase. I already know that I'm supposed to check out the parent directory and its checked out. I don't know if I'm supposed to check out the file I going to delete. If I don't check out the file I get the error: cleartool: Error: Not a vob object: "MyFileName". If I do check out the file I get: cleartool: Error: Element "MyFileName" has checkouts. So ClearCase knows it's one of its files – but it doesn't want to delete it. I'm just baffled. I've already updated and rebased repeatedly. How do I move forward here? VonC If you see that

deliver merge automatic

旧城冷巷雨未停 提交于 2019-12-06 16:26:46
My Requirement is regarding clearcase delivery: I want to automate delivery(no manual intervention/no deliver failure) process: While delivering - if there is any merge issue 1.if CC is able to merge files, its good- let it merge, 2.if CC is not able to merge - i don't want it to fail, instead lets not merge that particular file(revert merge for that file), proceed with next files. 3.List the files that are skipped, so that i can manually merge later. i doubt we can do this in a single step, but let me know if this is possible, and process to do it. VonC you can click "skip all" during a merge

What is the best practise to organize different applications under VOBs

老子叫甜甜 提交于 2019-12-06 16:09:21
This is a follow up question to this answer: https://stackoverflow.com/a/9579131/1204799 "It is best to create root-based components" If I have several standalone applications (which means their development and deployment are independent), shouldn't I create different VOB to accommodate them? What I'm doing now is that, I have one single PVob, which contains a few UCM projects, each UCM project has its own Vob and baseline component(a component without Vob). Am I doing it the wrong way? Updated at Mar-7 16:29 After taking your advice, this is what I am trying to do now: I created a single PVOB

In clearcase how to convert non modifiable baseline to modifiable?

对着背影说爱祢 提交于 2019-12-06 16:08:31
A new UCM project was created with multiple baselines configured When i am trying to checkout files from particular component , I was not allowed to checkout and it said may be the stream will be read-only. I am able to checkout other component files in the stream. So i tried to run the following command cleartool lsstream -view "MyBuildView" -l Output had many things and the baseline related information i have copied below. I am able to see that the component3 is non-modifiable as also it is not there in recommended baseline. (i added it separately as while creating the project it was missed)

Clearcase error : vobrpc_server.exe(<pid>): Error: See albd or vob error logs on host <host name>

时间秒杀一切 提交于 2019-12-06 16:08:27
We are working on a task to resurrect a ClearCase server. During the restoration process, we are stuck with following error as shown in server log. vobrpc_server.exe(<pid>): Error: See albd or vob error logs on host <host name> Here is the background. We were given 2 servers [Registry & view server] Registry server was in island and view server was in under a domain, which is now currently unavailable. We created a new group called "ClearCase" and put both these servers under same LAN and created new users under ClearCase group. While the license & albd service started successfully, it is

Synchronize two vobs on two different hosts

ε祈祈猫儿з 提交于 2019-12-06 15:57:05
Hi every one am new the clear case I need to keep synchronized the already replicated vobs how do I do that can any one help me in steps wise I appreciate your time and help Thanks If the Vob is already replicated (meaning with ClearCase multisite ), then it mostly is a matter of running multitool syncreplica : host1: multitool syncreplica -export -fship replica:<replica_tag>@\aPVob host2: cd /opt/rational/clearcase/shipping/ms_ship/incoming sudo -u vobadm /opt/rational/clearcase/bin/multitool syncreplica -import /opt/rational/clearcase/shipping/ms_ship/incoming/sync_*_2015-07-16T07* 来源: https

Simple deployment from ClearCase on Unix

我怕爱的太早我们不能终老 提交于 2019-12-06 15:53:33
I have recently joined a team that has several applications that perform workload automation. They use ClearCase for version control but the development and test environments are (I surmise due to a lack of ClearCase expertise within the team) not checked out/deployed out of ClearCase but simply FTP-ed to respective Unix servers from Window. I said "simple deployment" because all the code is interpreted (Perl and shell) so no need to compile. Needless to say, many things are wrong with this approach, most specifically the lack of version management in these environments from the point of

clearcase symbolic link file not visible from a snapshot view

天涯浪子 提交于 2019-12-06 15:41:27
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 appreciated. VonC First, do a cleartool ls in C:\path\to\my\view\VOB_II\SampleDir The status can

How merge sub branch to main branch using clearcase command line under linux?

瘦欲@ 提交于 2019-12-06 15:27:54
I want to merge all the files labelled with XXX in sub branch AAA to main branch. The main branch do not update since AAA branched out, so the merge task is just replace all changed files with sub branch files. How can I do this using ClearCase command line ( cleartool ) under Linux? VonC You can use the command cleartool findmerge for that. The key is to use a view which select those files: element * MYLABEL element * /main/LATEST And use -ftag yourLabelView You can also directly use -fver YourLabel (meaning, no need to have a special dedicated view) Go to a dynamic view set on /main , and do

ClearCase: Files in 2 branches obscure each other

点点圈 提交于 2019-12-06 14:56:48
I have checked in the same file (filename) twice in 2 different branches (say, development and release). This breaks just about anything, so I want to take 1 version and "properly" copy/merge it to the other branch, later merging in the lost changes manually (from a backup). Then I would lose history for 1 file but at least the 2 files would be connected again. How to do it? Also note, since the connection is broken, I cannot mere, also, when doing a Version Tree, both files have different version trees. (It is not 2 views at different files in 1 Version Tree, like is the normal/correct case.)