clearcase

Forcing a view in clearcase to equal parent stream

杀马特。学长 韩版系。学妹 提交于 2019-12-14 03:58:56
问题 I have a clearcase view which I have not updated in quite some time. It has some view private files and I am sure a lot of other things as well. Is there anyway I can delete all the content of the view and force clearcase to give me everything again? When i try to build the project from my view (After a rebase) I get a lot of build errors, but if I build the project from the actual stream, I get no build errors at all, so I am guessing my view is a bit messed up, and as I have no files I need

Sharing branches and labels between 2 VoB Clearcase

限于喜欢 提交于 2019-12-13 18:47:22
问题 How do i share branches and labels created in type explorer between two Vobs in ClearCase 7 回答1: You need to link those two vobs with a common admin vob, in order to define global types . The Rational® ClearCase® global type facility makes it easy for you to ensure that the branch, label, attribute, hyperlink, and element types they need are present in all VOBs your project use. See "VOB datatypes and administrative VOB hierarchies". In general, all operations on a global type or a local copy

How to create a new branch which contains source of another branch - rtc source control

拟墨画扇 提交于 2019-12-13 18:18:30
问题 I have a stream which contains multiple components. I want to break this stream into a development and a production stream (a bit like the ClearCase UCM Integration and Development Streams) . How do I accomplish this ? (In ClearCase, it was about creating a sub-Stream to an existing Stream) Something like : Rename the current stream to dev-stream. Create a new stream prod-stream. Create new components to match components in ' dev-stream ' and add them to ' prod-stream ' I have a workspace

How to check user group in ClearCase client server

若如初见. 提交于 2019-12-13 16:29:06
问题 With a full ClearCase installation, CLEARCASE_PRIMARY_GROUP is the usual way to set the main group for a user. What about a CCRC installation through CLI (Java CM CLI or CCRC CLI)? The GUI allows to set a primary group, but how would you set it through command lines? 回答1: With CCRC, the technote swg21423936 mentions: The ClearCase Remote Client Command Line Interface does not support the ability to pass a specific client side ClearCase Group (such as CLEARCASE_PRIMARY_GROUP ) or pass a

Comparing views in ClearCase

倖福魔咒の 提交于 2019-12-13 14:23:09
问题 I have two dynamic views in ClearCase which, as far as I know, are supposed to be "equal". One is supposed to look at the " Main branch" and one at some other branch (let's call it A ). I did a merge from A to Main (in the Main view) and for some reason the code at the A view compiles while Main does not. Is there a way to compare the views for differences? 回答1: The simplest way is to use an external diff tool on those two views (like WinMerge or BeyondCompare on Windows, KDiff3 on Unix or

ClearCase snapshot views on ClearTeam Explorer

不问归期 提交于 2019-12-13 12:44:03
问题 I launched ClearTeam Explorer for the first time but I can't find how to setup snapshot views... Where are they located in the desktop CTE application? I see dynamic and web views only. Thank you 回答1: Update 2015: As mentioned below, since ClearCase 8.0.1.6 (Dec 2014), snapshot views are supported (release notes): CTE support for snapshot views ClearTeam Explorer (CTE) now supports snapshot views. For more information, refer to the following technotes: 1691355: new features in CMAPI 1691375:

Details of config spec in base ClearCase

别说谁变了你拦得住时间么 提交于 2019-12-13 12:16:39
问题 My base ClearCase config spec reads like this: element * CHECKEDOUT element * .../Branch_F13R2/LATEST All is good, but I am wondering what is the .../ doing at the beginning of the path? In UCM, we can see the streams and VOBS in Clear Case explorer, but in base ClearCase, how to know that if I want to check out from Branch_F13R2 , I need .../ at the beginning? 回答1: That is because you don't know the parent branch. .../ in a selection rule allows for ClearCase to select that branch, from

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"

c# How to determine if a file is in ClearCase

橙三吉。 提交于 2019-12-13 07:43:28
问题 I am writing a program that needs to know whether a file (excel workbook) is in clearcase or not. If so I need to check it out. Here is my code for checking out a file: private void buttonClicked(object sender, RibbonControlEventArgs e) { ClearCase.ClearTool checkingOut = new ClearCase.ClearTool(); string fileLoc = Globals.ThisAddIn.Application.ActiveWorkbook.FullName; checkingOut.CmdExec(@"checkout """ + fileLoc + @""""); } I do not want to perform the checkout unless I know if it is in

Adapt SCM Implementation with Subversion to ClearCase

微笑、不失礼 提交于 2019-12-13 06:57:11
问题 I have a project which have SCM Implementation with Subversion and now I want (have) to use ClearCase as new repository. I'm having problems with scm configuration in the pom.xml, I have something like this: ... <scm> <connection>scm:svn:http://url/to/my/repository/</connection> <developerConnection>scm:svn:http://url/to/my/repository/</developerConnection> <url>http://url/to/my/repository/</url> </scm> ... Now, I have to adapt this to ClearCase. I've been looking for information on the