clearcase-ucm

Database timed-out issue in Clearcase UCM

我与影子孤独终老i 提交于 2019-12-01 12:13:58
I am facing Database timed-out issue while creating a view and/or rebasing a stream on vobs ERROR -> cleartool: Error: Database timed out -- aborting transaction: "\TP". ERROR -> cleartool: Error: Unable to generate config spec for stream "stream name". I am using CCRC to connect. VonC CCRC possibly means CC8.0.X+, but you would still need to access logs (that was cleartool getlog in previous CC versions , since you mentioned before using CC 7.1 ), in order to know more about that error message. A " Database timed out -- aborting transaction " usually is followed on the logs by the actual root

Merge changes from clearcase label to git branch

旧城冷巷雨未停 提交于 2019-12-01 12:02:37
We are using clearcase and git for version control. I have a situation where my fellow colleague has released few changes in a developer label in clear case. Now i want to pull those particular changes to git branch. Is there a way to achieve this? Yes, make a snapshot view with a config spec selecting that label. Then from your separate git working tree folder, do git --work-tree=path/to/snapshot/view add . # or, to limit files added: git --work-tree=path/to/snapshot/view add -- afile git --work-tree=path/to/snapshot/view add -- a folder That will instruct git to add files modifications from

How to list ClearCase activities in certain streams?

妖精的绣舞 提交于 2019-12-01 12:01:45
I'm wondering if there is a way to specify which streams to get a list of activitis for in one command line call? Right now I'm building a list of activities based on either a vob or an individual stream, using either: ct lsact -invob vob_name or ct lsact -in stream:stream_name However, now I'm trying to filter it a little bit to remove activities from streams that are on locked/obsolete projects. I've got the list of streams that are on unlocked projects already, but I don't know of any way to pass this in to "cleartool lsact". Running "ct lsact -invob", then filtering the output takes too

script doesn't run while executing in clearcase

别等时光非礼了梦想. 提交于 2019-12-01 10:52:31
I am trying to execute the following build script and it is returning no error but it is not executing the script inside it. there is a view tag with the following name. it can be seen with cleartool lsview <view-tag> . I can do cleartool setview <view-tag> but it doesn't run the sh /abc/cds/fg/bin/ant -t all. CLEARCASE_VIEWNAME=NYC_CYN cleartool setview -exec "newgrp orange; cd /abc/cds/fg/bin; sh /abc/cds/fg/bin/ant -t all -i ' '" $CLEARCASE_VIEWNAME Thanks for any help !! VonC First, don't use setview . It triggers a sub-shell, which doesn't play well with scripts. See " Python and

ClearCase UCM: Get latest version from Dev-stream

百般思念 提交于 2019-12-01 10:36:33
I'm stuck over the config spec for a dynamic view. I try to get the latest version of a folder of a UCM stream from the Dev-stream into another (Base) dynamic view. My idea would have been to do a element PathToFolder/... .../DEV-STREAM-NAME/LATEST but that won't give me anything in the view. The config spec that is automatically generated by UCM does not help me as it specifies a specific baseline and creates a branch once you check out a file (which I of course do not want, I only need read-access to the version). Is it possible to access the latest version from the Dev-stream, or do I have

UCM Clear Case: Hiereachy of streams in one project vs multiple projects

本小妞迷上赌 提交于 2019-12-01 10:36:18
We have a project and are about to add a new piece of functionality to otherwise stable codebase without any major changes going on except defect fixing. The plan is not develop the new feature separately for a while (probably a month) doing intermediate builds and testing and as the feature is finished and the quality is acceptable merge the code of the new feature in the main branch. The question is what of the following two scenarios is better in terms of Clear Case: Creating a new project based on a baseline in the integration stream of the current project, developing the new feature in

How to retrieve stream name by a given view name in ClearCase UCM?

偶尔善良 提交于 2019-12-01 09:07:29
I'm trying to figure out how to retrieve the stream which a given view is belong to. When I use "ClearCase Explorer" and right-click for view's properties, I get its stream name, but I can't find how to retrieve that with scripts. The stream information does not appear on view .vws files nor registry. I know I can do some manipulation to get it from view's config-spec, but I'm still looking for the easiest way to find it our. By script: cleartool lsstream -view view_tag See cleartool lsstream man page : –vie/w view-tag Displays information for the stream connected to the specified view. 来源:

How to describe recommend baseline with pipeline

我的未来我决定 提交于 2019-12-01 09:01:40
问题 I am trying to find all the components baselines associated in a composite baseline. I am able to achieve it using following way cleartool desc -fmt %[rec_bls]CXp stream:My_Integration@\My_PVOB (I would save the receommended baselines in some variable using powershell and replace it in next command) cleartool describe -l baseline:"$Baseline"@\My_PVOB Is it possible to combine both command so that i can describe all the recommended baselines. In the above approach i am forced to use some

How to setup activity automatically for a view?

て烟熏妆下的殇ゞ 提交于 2019-12-01 08:56:38
In our build , we use to delete our view and create new view before build. It was working without any issue in base clearcase. But in UCM we face issues while check-out and check-in due to activity name has to be assigned every time. Is it a good practice to create new activity whenever i build? [ But number of activities will be soon increased to enormous] Is there any easy way to setup default activity automatically in UCM? Has any body automated this in their build process? If so can you share link or something useful resource.. Use cleartool setact to set your activity. setact/ivity [ –c

ClearCase UCM: Get latest version from Dev-stream

江枫思渺然 提交于 2019-12-01 08:47:06
问题 I'm stuck over the config spec for a dynamic view. I try to get the latest version of a folder of a UCM stream from the Dev-stream into another (Base) dynamic view. My idea would have been to do a element PathToFolder/... .../DEV-STREAM-NAME/LATEST but that won't give me anything in the view. The config spec that is automatically generated by UCM does not help me as it specifies a specific baseline and creates a branch once you check out a file (which I of course do not want, I only need read