clearcase-ucm

how to create a preop trigger to prevent a new baseline in clearcase stream?

痴心易碎 提交于 2021-02-19 07:47:27
问题 I have this issue while rebasing the stream: cleartool: Error: Can't switch to baseline because the stream has made changes based on the current baseline. giraffe_pvob is a non modifiable component on tiger_011 project and there were no changes done on this component by the stream. I would like to install the preop trigger to prevent any new baseline on this stream. so how should I proceed? Will this prevent any rebasing issue like above? Thanks !! 回答1: You cannot prevent the creation of the

Java ClearCase Update on a HTTPS Server

我只是一个虾纸丫 提交于 2021-02-19 07:18:07
问题 I am trying to automate ClearCase, so I can do automatic building. The first step is to update a view by script. I am trying this with the following Java code: StpProvider provider = (StpProvider) ProviderFactory.createProvider( CcProvider.NETWORK_PROVIDER_CLASS, callback); provider.setServerUrl("https://..."); CcProvider m_provider = provider.ccProvider(); m_provider.registerTrustManagerCallback(callback); File viewRoot = new File("D:\\Views\\..."); StpLocation viewLocation = provider

Will there be any side effect if we delete a latest version from integration stream?

岁酱吖の 提交于 2021-02-19 05:33:24
问题 we have delivered some set of packages to testing team and they completed testing. In one of the package they report a defect and it was fixed and delivered to integration stream. But while deliver it asked for rebase and delivery contained reabase activity. In rebase activity due to merging issues one of the file was modified in a package which had no defect. As testing was already completed and the changes in the delivery is not required , our team wants to delete the latest version of a

ClearCase moving triggers scripts to another location

天大地大妈咪最大 提交于 2021-02-11 14:27:48
问题 I have to move the trigger's scripts from one server to another, on both linux and windows. As far as i know i have to use the ct mktrtype command with the -replace parameter, I've read on IBM web site that i have to use the same command that was used to create those triggers. How can i identify the command that was used. Here is part of my triggers: trigger type "REMOVE_EMPTY_BRANCH" 2007-11-27T15:29:00+02:00 by vobadm.ccusers@tlv-vob2 "Automatically remove empty branches" owner: ARRS\vobadm

Partly disallow rmver in UCM

六眼飞鱼酱① 提交于 2021-02-08 08:39:18
问题 I would like to disable the rmver command in our UCM environment for security reasons. Unfortunately I know that some users use the command and so the request was formulated to disallow rmver only for elements that are "interesting" (in ClearCase terms, meaning have hyperlinks attached, etc.). The reasoning goes along "Why would I not be allowed to delete versions that are of absolutely no use and are not referenced anywhere?" Even after telling them that the command is very dangerous they

Removing files from lost+found directory in clearcase UCM

给你一囗甜甜゛ 提交于 2021-02-08 08:01:53
问题 I want to delete all the files from lost+found directory in one go from command prompt. How can i do that ? 回答1: You can check the technote About the lost+found directory Removing Objects from lost+found Before taking any steps to clean out the VOB's lost+found , please make a backup of the VOB as a safeguard. There are two possible ways to remove an object from the root of the lost+found : The object can be moved to a new location in the VOB using the cleartool mv command The object can be

Removing files from lost+found directory in clearcase UCM

前提是你 提交于 2021-02-08 08:01:10
问题 I want to delete all the files from lost+found directory in one go from command prompt. How can i do that ? 回答1: You can check the technote About the lost+found directory Removing Objects from lost+found Before taking any steps to clean out the VOB's lost+found , please make a backup of the VOB as a safeguard. There are two possible ways to remove an object from the root of the lost+found : The object can be moved to a new location in the VOB using the cleartool mv command The object can be

Baseline creation interrupted

无人久伴 提交于 2021-01-28 03:22:21
问题 I tried to create a baseline today and ClearCase Explorer crashed (seemed to be after it was finished, but evidently it wasn't.) I tried to recreate the baseline and it gives me an error saying there are some that are "in_progress" so it can not proceed. I removed the baseline, and I am trying to remove the "in_progress" label types. When I remove the lbtype, it says that a directory is locked. I did an lslock -all and removed the locks on a project and a baseline and now there is nothing

How to force rebase before each delivery?

冷暖自知 提交于 2020-03-23 12:05:10
问题 We set policy to force rebase before delivery if any baseline is recommended. But we would not recommend baseline everyday. We will do it once in 2 weeks like that. In between recommend baseline duration, people are often facing issues in functionality as they have not taken latest code base. Is there any way to force to rebase before each delivery? [irrespective of baseline is recommended or not]. Is it recommended practice to rebase before each delivery? 回答1: It is recommended to rebase

unable to complete delivery

你离开我真会死。 提交于 2020-01-21 05:59:05
问题 I got the following error while trying to complete the posted delivery. Is there anything I can do it from the target site? cleartool: Error: Unable to check out "/vobs/amit_sumit/lost+found/pcs_i_ltf_odfc_set_sftp.c.842f38e667011e395ad0018fe6508eea". cleartool: Error: Some files could not be checked out in the target view. cleartool: Error: Unable to perform merge. cleartool: Error: Unable to do integration. cleartool: Error: Unable to deliver stream "banglore_atx_cl". 回答1: Yes. You can