需要 CM API (ClearCase) 帮助
我需要从 Clear Case(7.1.1 服务器)获取特定的 Stream(可能带有 Activity)并将其存储在本地计算机上。让我想出一个用户故事: “作为中央构建系统的管理员,我希望从相应 SCR 或 IR 的 Clear Case 存储库中自动执行“获取代码”步骤,以便最新和最好的代码位于构建服务器上”。
我正在寻找有关 CM API 的帮助。看起来它可以处理它,但我迷失在 API 中……幸运的是 Rational ClearCase 论坛上的支持将我带到了这里。对我来说,几美分就是黄金。谢谢。
-罗马。
I need to get particular Stream( perhaps with Activity) from Clear Case (7.1.1 server) and store it on local machine. Let me come up with a User Story:
"I'm as admin of central build system want to automate "getting code" step from Clear Case repository for corresponding SCR or IR so that latest and greatest code was on build server".
I'm looking for help with CM API. It looks like it can handle it but I lost in API...luck of support on Rational ClearCase forum brought me here. Few cents would be a gold for me. Thanks.
-Roman.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您需要在该流上构建一个 UCM 视图(最好是动态视图),以便选择与所述流对应的分支的最新版本。
您将在此处看到 CAL 脚本示例< /a> 用于获取视图(但不用于制作视图)。
话虽这么说,一个简单的cleartool命令就足够了,如这个答案:不需要 CAL 脚本。
It looks like all you need to build an UCM view on that stream (preferably a dynamic view), in order to select the LATEST version of the branch corresponding to said Stream.
You will see here an example of CAL script for getting a view (but not for making one).
That being said, a simple cleartool command is enough, as illustrated in this answer: no need for CAL script.