创建视图时出现错误"cleartool mkview -tag $ view-name $ view-name";带有Clearcase UCM插件1.7.4 [英] Get the error when creating the view “cleartool mkview -tag $view-name $view-name" with Clearcase UCM Plugin 1.7.4

查看:102
本文介绍了创建视图时出现错误"cleartool mkview -tag $ view-name $ view-name";带有Clearcase UCM插件1.7.4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用插件1.7.4创建视图"cleartool mkview -tag $view-name $view-name"时出现错误.

Get the error when creating the view "cleartool mkview -tag $view-name $view-name" with plugin 1.7.4.

在命令行末尾添加了view-name.

在其他参数中,我将UNC路径放置到了视图中.万一我不添加它给我 错误:应提供UNC路径..."错误.
日志:

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_Platform_Dev_int_22
cleartool: Error: Extra arguments: "jenkins_Official_G4_FW_Platform_Dev_int_22"

推荐答案

cleartool mkview -tag $view-name $view-name

不正确.

您需要-vws(用于视图存储路径:您的UNC路径)或-stg(用于视图存储的名称)

You need either -vws (for the view storage path: your UNC path) or -stg (for the name of a view storage)

请参见

See cleartool mkview man page.

应该是:

cleartool mkview -tag $view-name 

,带有附加参数:-stg a_view-storage-unc_path

OP ZeevT 添加了注释:

现在尝试使用快照视图,但同样失败. 请参阅下面由詹金斯生成的cmd:

Tried now using snapshot view, but same failure. See below the cmd generated by Jenkins:

Building remotely on build-xp [Hello World] 
$ cleartool mkview -snapshot -tag jenkins_Official_G4_FW_Platform_Dev_int \\build-xp\CC_views\jenkins_Official_G4_FW_Platform_Dev_int.vws jenkins_Official_G4_FW_Platform_Dev_int 

cleartool: Error: Extra arguments: "jenkins_Official_G4_FW_Platform_Dev_int" – ZeevT 2 days ago

我提到快照视图的视图存储路径应在-vws之前,并且OP会确认:

I mention that the view storage path for a snapshot view should be preceded by -vws, and the OP confirms:

对于快照视图-vws解决了问题

For snapshot view -vws solved the problem

所以动态视图仍然存在问题...

So there is still an issue for dynamic views...

这篇关于创建视图时出现错误"cleartool mkview -tag $ view-name $ view-name";带有Clearcase UCM插件1.7.4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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