clearcase

Whats the easiest way to completely remove a directory element & all its sub-contents from VOB?

假如想象 提交于 2019-11-28 11:49:14
What I know is, using rmelem to remove the folder first, and this will cause all of its child elements to be moved to lost+found . Then, go into lost+found , and repeatedly execute rmelem * until all of the elements are removed. Is there a better way? The technote about lost+found is quite clear: if you rmelem a directory, all its content will indeed be moved to lost+found , where it will has to lost+found . The technote adds: Note: If a directory element is deleted from lost+found with rmelem , its contents will be moved to lost+found in the same manner described in the first section above.

imported Eclipse project not linking to ClearCase

只谈情不闲聊 提交于 2019-11-28 11:39:57
问题 I imported a project from ClearCase into Eclipse and it's not associated with ClearCase; meaning no check in/check out. The only thing I get under 'Team' is 'apply patch' or 'share project'. Other projects I import into Eclipse are automatically linked to ClearCase, but not this one. I even created a separate workspace for this view and still some projects will be linked and others not. It's not even dependent upon project; it's arbitrary. Any ideas? Thanks for any helpful tips! 回答1: If you

ClearCase: Is it possible to cancel checkouts not made from your own view?

瘦欲@ 提交于 2019-11-28 11:34:06
Can the project manager force cancellation of checkouts of files/directories made in any view/stream/project? How? VonC A ClearCase administrator can force all files of a given view to be considered as "not checked out" (which is the equivalent of canceling their checkout status), with cleartool rmview : cleartool rmview -force -uuid (uuid_of_the_view) -vob \aVob You can get the uuid by grepping the user in the output of: cleartool descr -l vob:\aVob See technote " Removing checked-out references of a view from a VOB ". It will work for any view (snapshot or dynamic views, base ClearCase or

Config specs and Load rules difference

时光毁灭记忆、已成空白 提交于 2019-11-28 11:22:49
What is the difference between Config specs and Load rules in Clearcase? Are both of them edited using "cleartool editcs -tag " command only? A config spec is a collection of: selection rules (for selection the right versions) load rules (only for snapshot view) for loading into your "workspace" (the snapshot view) the files selected by... the selection rules just above! You can edit both with ct edcs (just " ct edcs " if you are anywhere in a ClearCase view). Of course, in a dynamic view, you will only edit selection rules, since there are no "load rules": there is nothing to " load " on your

Does rmname on parent stream remove element from child stream?

浪尽此生 提交于 2019-11-28 11:18:41
问题 If I perform a rmname operation on an element in a parent stream does this also delete the element in the child stream? 回答1: No. rmname will create an new version of the parent directory of the element you are removing. That new version of the parent directory will no longer reference that element, and that new version will be created in the parent stream associated branch. That has nothing to do with the versions of that same directory created in the child stream associated branch. Those

How to create a branch

给你一囗甜甜゛ 提交于 2019-11-28 11:16:38
问题 How to create a branch? Could anyone explain these syntax to me? element * /main/LATEST -mkbranch karthik_4 And suppose, if my latest version is 6 but i want to create a branch at 4 how it is done? 回答1: Creating a branch cannot be done in one selection rule. The idea behind a config spec is that ClearCase will try applying each rule in order until one fits (then it stops for that element, file or directory, and try the same set of rules, again in order, for the next element - file or

When I create views from Clearcase explorer, both development and the integration views get created as snapshot

自作多情 提交于 2019-11-28 10:59:04
问题 I do not get the option at all to choose for the views to be snapshot or dynamic. What I would want is the development view to be snapshot and the integration view to be dynamic. Why is it that I am not prompted to let me choose my views to be snapshot/dynamic? 回答1: May be you have ClearCase LT, which only provides snapshot view ? As mentioned in the ClearCase mkview help page: Specifying the kind of view Default ClearCase: Dynamic view. ClearCase LT: Snapshot view Anyway, you can try to

how to find checked out files in a clearcase (windows) snapshot view?

好久不见. 提交于 2019-11-28 10:58:07
问题 On Unix in a dynamic view, I run the following to find checked out files: cleartool lsco -s -cview -me -avobs In a windows snapshot view, this use of -avobs doesn't appear to work. On a vob by vob basis I can run: cleartool lsco -s -cview -me -all which returns the checked out names to me for that vob. Is there a way to tell what vobs have checkouts in a Windows snapshot view? (not sure if Windows vs. Unix is a factor here). I'd like to script the lsco, executing it in each of the vobs in

Get the error when creating the view “cleartool mkview -tag $view-name $view-name" with Clearcase UCM Plugin 1.7.4

帅比萌擦擦* 提交于 2019-11-28 10:52:03
问题 Get the error when creating the view “ cleartool mkview -tag $view-name $view-name " with plugin 1.7.4. Additional view-name added at the end of command line. In the additional arguments I placed the UNC path to the view. In case I don't add it it gives me "... UNC path should be provided..." error. Log: Building remotely on builder [test] $ cleartool mkview -tag jenkins_Official_G4_FW_Platform_Dev_int_22 \\builder\cc_views\jenkins_Official_G4_FW_Platform_Dev_int_22 jenkins_Official_G4_FW

Getting View Owner/Creator with Rational ClearCase Automation Library (CAL)

余生长醉 提交于 2019-11-28 10:23:23
问题 Has anyone here already worked with the Rational / IBM CAL and knows if at all, and how to check for a view's creator/owner (username)? Elements, Vobs etc all have an Owner/Creator, but for some reason views do not? 回答1: I have only do small VB scripts with CAL, as illustrated in this answer about label. After having checked cc_cal.chm (found in C:\Program Files\IBM, in the latest 7.1.0.1 version of ClearCase installation), I have found their ICCView interface very incomplete, and always