clearcase

Can we omit element * /main/LATEST in the config spec of base clear case project?

元气小坏坏 提交于 2019-12-10 11:02:55
问题 In a base clear case project that I have, the config spec handed to me reads like this: element * CHECKEDOUT element * .../PROJ_1.5.0/LATEST element * .../main/LATEST -mkbranch PROJ_1.5.0 element * /main/LATEST I read up a bit on config specs here at his guide: http://www.philforhumanity.com/ClearCase_Support_17.html It seems to me that in my config spec, the last line has no value. Because element * /main/LATEST is already there on the second last line. Is my understanding correct? 回答1: That

how to undo hijacked files in clearcase?

假装没事ソ 提交于 2019-12-10 10:56:59
问题 I have this strange hijacked file in my snapshot view. when I undo it, it doesn't go away. Is there a way to un-hijack it. I already tried undo-hijacked but didn't work. I should see .keep file if it unhijacked but didn't see any. Also tried to check out and uncheck out but this file still remains as hijacked. Thanks for any help !! 回答1: There is usually one case where an hijacked file remains hijacked when you try to cancel it (following "Canceling a hijack"): It is when the file is kept by

Base ClearCase path meaning

六眼飞鱼酱① 提交于 2019-12-10 10:42:43
问题 /vobs/trms/NVaR/DSR/simulationEngine/common@@/main/2/nVARUTL.cxx@@/main/nz_mig/1 Can someone explain the meaning of the above line? Jim 回答1: This is an extended pathname which references: the version 1 of nVARUTL.cxx in branch main/nz_mig , itself accessible in the version 2 of the folder common in branch main See more at "pathnames_ccase". The @@ references the element ( common or nVARUTL.cxx ), followed by their versions (branches/version). element-pname@@version-selector Since the path

Not able to Set View in Base clearcase

佐手、 提交于 2019-12-10 10:41:52
问题 I am not able to set view on the server even though I have re-mounted the file system , getting below error : $ cleartool setview view_name cleartool: Error: Timed out trying to start view_server for view PATH cleartool: Error: See view server error log and/or look for view_server problem on host Hostname cleartool: Error: Couldn't set view tag tagename: error detected by ClearCase subsystem 回答1: First, try to avoid *enter code here: it spawns a subshell which is tricky for your current

ClearCase: How do I know the parent branch of a branch?

谁都会走 提交于 2019-12-10 10:28:21
问题 Is that possible to get hierarchy of branches? I have to know the father of a given branch I have to know the children of a given branch How do I get it by cleartool? I prefer not to be based on a view config-spec Thank you! 回答1: With base ClearCase, you cannot know the parent of a branch, because it can vary from file to file: a file can start branch ' B2 ' from ' /main/LATEST ', another can start the same branch from ' /main/B1/LATEST '. For ClearCase UCM, you can determine the parent of a

ClearCase Integration with Visual Studio

核能气质少年 提交于 2019-12-10 10:17:07
问题 I'm trying to open a project source controlled by IBM ClearCase, but it gives this message to me: The project '[MyProject]' is under source control. An error occurred registering this project with source control. It is recommended that you do not make any changes to this project. I just don't know what to do. I've already re-installed everything. The Visual Studio integration is already installed, but it keeps giving error messages. Is anyone knows a solution for this? Answer: I get a

ClearCase; How to make a baseline with cleartool

家住魔仙堡 提交于 2019-12-10 10:15:29
问题 I am currently using ClearCase over a remote network and it is painfully slow. It takes forever just to browse to the stream that I want to make a baseline of. Is there a quick, easy, and safe way to make a baseline from the cleartool interface of a specific stream? Thanks, Ian 回答1: The basic command, from cleartool man mkbl: cleartool mkbl -view anUCMView aBaselineName You need a view associated to your target Stream to apply the baseline. I recommend using the -full option, in order to

Script to get a file's version in clearcase

痴心易碎 提交于 2019-12-10 10:12:59
问题 I would like to get a file's clearcase version by means of a script . Is that possible? Thank you. 回答1: The surest way to get the version of a file is to: use the CLI command 'cleartool' combine it with the fmt_ccase options available for a cleartool describe command. cleartool descr -fmt "%Vn" myFile That way, no need to parse anyhting: if this is a versioned file, the result won't be an empty one. cleartool descr -fmt "\tElement: %-13.13En Version: %Vn\n" util.c Element: util.c Version:

When to use multiple components within a stream in RTC source control

痞子三分冷 提交于 2019-12-10 07:49:51
问题 An RTC source control component as I see it is a logical grouping of files & folders. When should I use multiple components within a stream in RTC source control? Method 1: I have multiple java(Eclipse) projects but I am adding these projects to just one component within a single stream. These projects are packaged into one deployment file. Method 2: Each java project be added to its own component within the stream, so the stream will contain multiple components - one component for each java

ClearCase checkout version not selected by config spec

╄→尐↘猪︶ㄣ 提交于 2019-12-10 07:12:41
问题 From a snapshot view using base ClearCase, I want to checkout the latest version of a file from a branch that is NOT selected in my snapshot view. I would expect this to be possible, because you can do it from the version tree browser tool. However, the documentation for the checkout command claims that you can't do this in a snapshot (emphasis mine): [ edit: Yes you can! See below.] Nonstandard checkouts By default, the checkout command checks out these versions: The most recent version on a