使用Rational ClearCase Automation库(CAL)获取视图所有者/创建者 [英] Getting View Owner/Creator with Rational ClearCase Automation Library (CAL)

查看:124
本文介绍了使用Rational ClearCase Automation库(CAL)获取视图所有者/创建者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里的任何人都已经使用过Rational/IBM CAL,并且是否知道,以及如何检查视图的创建者/所有者(用户名)? Elements,Vob等都具有所有者/创建者,但是由于某些原因视图没有?

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?

推荐答案

我只用CAL做小型VB脚本,例如

I have only do small VB scripts with CAL, as illustrated in this answer about label.

在检查了cc_cal.chm(在最新的7.1.0.1版本的ClearCase安装中的C:\ Program Files \ IBM中找到)之后,我发现它们的ICCView接口非常不完整,并且总是喜欢修补输出经典:

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 prefered to patch the output of a classic:

cleartool lsview -l -full -pro aTagViewName

有了这些输出,我肯定会找到我需要的任何信息.

With that output, I am sure to find whatever information I need.

获取给定用户名的某些视图的唯一其他纯CAL"方法是UCM视图,您可以在其中向流询问(但不能直接解决您的问题)

The only other "pure CAL" way to get some views for a given username is for UCM views, where you can ask the stream for those (but that does not address directly your question)

 Dim Streams As CCStreams 
 Dim Stream As CCStream 
 Set Streams = Project.DevelopmentStreams(Name) 
 For Each Stream In Streams 
       Dim Views As CCViews 
       Set Views = Stream.Views(Name) 
       Dim View As CCView 
       For Each View In Views 
             Str = Str & View.TagName & " in stream: " & _ 
             Stream.Title & vbCrLf 
       Next 
 Next 

这篇关于使用Rational ClearCase Automation库(CAL)获取视图所有者/创建者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆