clearcase

Rebasing and merging in clear case

天涯浪子 提交于 2019-12-11 13:42:17
问题 While rebasing the development stream in clear case, there are some times where a file needs to be merged because the local version is out of sync with one in the recommended baseline. Now intuitively, I was thinking that merge tool will offer two options :file 1(local) and file 2:(in recommended baseline). But in reality, I am being asked to choose from 3 files. What are these 3 files? 回答1: The 3 files are: common ancestor (or "base contributor") source (or "source contributor") destination

How to remove java project from eclipse without affecting clearcase repository

為{幸葍}努か 提交于 2019-12-11 11:31:57
问题 When I try to delete a java project I receive attached error. Should I disconnect the project first before deleting it. I want to delete the project from my workspace and recreate it again from the clearcase repository. 回答1: This is usually due to a view_server.exe process still locking a file. You should disconnect first, but also make sure the view has been stopped. It is best to stop the view from the command-line: cleartool endview -server yourView Then, you should be able to delete the

Script for recursive add-to-source control: How to ignore specific files and folders

我只是一个虾纸丫 提交于 2019-12-11 11:25:56
问题 I have this problem that has been bugging me for quite some time now. It is perhaps best explained by referring to the following (well-known) script: @rem= 'PERL for Windows NT -- ccperl must be in search path @echo off ccperl %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl @rem '; ########################################### # Begin of Perl section $start_dir = $ARGV[0]; # # Fixed variable # $S = "\\"; $list_file = "c:".$S."list_file"; $list_add = "c:".$S."list_add"; $choosed = "c:".$S."choosed"

I need to find all Versions checked-in by me on a branch

倾然丶 夕夏残阳落幕 提交于 2019-12-11 11:24:44
问题 In Clear Case, I need to find all Versions that checked-in by me In the example below, I need to find all versions checked-in by Loi Wang, on branch "mybranch" >$ct desc HelloWorld.xml <br > version "HelloWorld.xml@@/main/***mybranch***/9" <br > created 09-Sep-09.06:50:14 by ***Loi Wang*** (lwang.eng@compu10) <br > "Hello world issue " <br > Element Protection: <br > User : jsmith : r--<br > Group: eng : r--<br > Other: : r--<br > element type: xml<br > predecessor version: /main/mybranch/8

Getting error while check out the file

独自空忆成欢 提交于 2019-12-11 10:57:48
问题 Actually i created a view, branch and set the config secs for that view. Its allowing to checkout the already existed files, but it does not allow to checkout the newly created files. its allow to create new elements by using "mkelem" command, but it does not allow to checkout that newly created file. 回答1: For newly created file, you should see a rule like: element * /main/0 -mkbranch newBrach See for illustration "Config spec rules for elements in subbranches": element * CHECKEDOUT element *

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

how can I list a certain user's activity in a branch

拥有回忆 提交于 2019-12-11 09:02:24
问题 Given a branch name and a user id, I'd like to know what the guy have done to the files in the branch, how should I do ? thanks. 回答1: You can use a query with find: cleartool find . -user aUsername -type f -branch "brtype(aBranchName)" -print Note: Fisheye has: only alpha support for ClearCase (since July 2009, see ticket 248) had no support before that (see this thread) requires large system resources which makes it impracticable for large Vobs. 回答2: Use a tool like Fisheye. It gives you all

Running a Git build inside a ClearCase View in tcsh

自作多情 提交于 2019-12-11 08:35:54
问题 I have a project stored in git that must be built outside of clearcase and then executed inside of a Clearcase view. All of the builds and execution must be done inside of tcsh due to restrictions on external scripts. The Clearcase view requires tcsh to successfully execute the commands. To automate this process, I would like to use jenkins. How is this possible? 回答1: I figured this out and wanted to record it somewhere. To execute a different shell inside of the Execute shell build step in

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

ClearCase: Stop making baseline if there are checkouts

白昼怎懂夜的黑 提交于 2019-12-11 07:56:35
问题 I'm using cleartool to make baselines in my stream, using cleartool mkbl -full <baseline-name> If I have files checked out in my view (in my case, always an oversight), I get the warning cleartool: Warning: There are checkouts in view "<JXG-view-name>". But as this is just a warning, cleartool continues with making the baseline. What I need to do is stop immediately when given this warning. How can I abort the command automatically when I get this warning? I thought it would be a cleartool