clearcase

How to obtain previous baseline from stream

泄露秘密 提交于 2020-05-28 04:08:39
问题 I can retrieve latest baseline which is always recommended in my case using following command "cleartool desc -fmt \"%[rec_bls]CXp\" stream:".$SourceStream."\@\\".$pvob I want to retrieve second latest baseline.Is it possible to obtain previous baseline from a given stream using cleartool command? previous applied baseline on any given component will also works.I need this to get difference between two streams from different projects which can be done by following command. "cleartool diffbl

How to force rebase before each delivery?

冷暖自知 提交于 2020-03-23 12:05:10
问题 We set policy to force rebase before delivery if any baseline is recommended. But we would not recommend baseline everyday. We will do it once in 2 weeks like that. In between recommend baseline duration, people are often facing issues in functionality as they have not taken latest code base. Is there any way to force to rebase before each delivery? [irrespective of baseline is recommended or not]. Is it recommended practice to rebase before each delivery? 回答1: It is recommended to rebase

ClearCase UCM hierarchy

為{幸葍}努か 提交于 2020-02-25 18:36:29
问题 I'm trying to understand the hierarchy of UCM objects: UCM project, streams, baselines, composite baselines, VOB components, activities, change sets etc. Can you explain the hierarchy links between these objects? Can you provide a link to a good explanation? A visual diagram will be good as well Thank you! 回答1: An UCM project is a container forn UCM Streams. It contains at least one root stream (called "integration stream"), and several sub-streams. See "Integration stream vs integration view

Is it possible to lock the applying label option for a work_branch in clearcase?

别来无恙 提交于 2020-02-23 04:52:05
问题 But check in/out & merge should happen for the same work_branch.The only aim is that work_branch should not allow applying any label. 回答1: Since: locking the brtype for that branch would also prevent checkout/checkin, locking the lbtype would prevent any mklabel on any branch, You can try instead definining a pre-op trigger on mklabel : If that mklabel operation is done on the wrong branch, that pre-op trigger would exit with a non-zero status, preventing the mklabel to proceed and apply the

ClearCase UCM - How to get only latest versions from latest baseline

ⅰ亾dé卋堺 提交于 2020-02-15 05:56:05
问题 How to get only latest versions from latest baseline - For example, First time in ClearCase, developers check in for the first time, we would have a.zip, b.zip ; ClearCase does the incremental baseline baseline_1. Then the build tool comes in, does it gets artifact..and deploy it - everything looks good. Second time in ClearCase, they check in c.zip and d.zip ; ClearCase does an incremental baseline again baseline_2... now how can I get the ClearCase snapshot view to only present the new

CruiseControl.NET and Clearcase configuration

不打扰是莪最后的温柔 提交于 2020-02-02 11:49:37
问题 I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic. Does anyone use this combination? Do you have a ccnet.config file I can look at? This is what does not work for me: <cruisecontrol> <project name="test"> <sourcecontrol type="clearCase"> <exec>batch file</exec> <viewPath>path_name<

CruiseControl.NET and Clearcase configuration

本秂侑毒 提交于 2020-02-02 11:48:06
问题 I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic. Does anyone use this combination? Do you have a ccnet.config file I can look at? This is what does not work for me: <cruisecontrol> <project name="test"> <sourcecontrol type="clearCase"> <exec>batch file</exec> <viewPath>path_name<

Best way to roll back to previous versions without baseline in CC

梦想与她 提交于 2020-01-25 02:24:06
问题 I need to roll back to a previous version of my project, but I haven't really been creating baselines. Whats the best way to do this. I think I have a large clearfsimport operation that marks the current version that my desired view would pre-date. What is the best way to create a view like this. I was hoping I could do something based on date that would just create a view that includes all versions from Date X and before, or perhaps Activity X and before. I do have a large number of files

ClearCase - file system path to element path

穿精又带淫゛_ 提交于 2020-01-24 20:44:07
问题 Given a file system path such as " D:\pkirkham_view\VOB\Folder " or " U:\VOB\Folder\ ", is there a mechanism to get the path which would work in the config-spec to to load that folder "/VOB/Folder/" ? Either CAL or cleartool commands would be fine. This is to run on client machines with ClearCase LT installed. (I haven't found anything usable in CCElement.get_PathInView() or the various cleartool ls commands I've tried) 回答1: There is no native command, but the only load rule you need is based

Config spec for applying a label

家住魔仙堡 提交于 2020-01-24 19:28:10
问题 How to apply a label To the latest version of a branch Using config Spec? Can we apply a label using the Config spec. Well I have created branches using the Config spec but I applied labels using the apply label option. But i want to apply it by giving it in the config spec. Can we do it if so how? I tried it but Its not working.Thank you in advance element * CHECKEDOUT element /test_ari/karthik/omna.txt .../karthik_9/LATEST/karthik_66 element * /main/LATEST I want to create a label karthik