我对 IBM Jazz 非常陌生,我已经下载了 RTC-BuildSystem-Toolkit,其中包括 eclipse 插件和 ant 构建任务定义。我的问题是如何从 Jazz 服务器下载/获取文件?
我必须使用 teamFetch anttask 吗?
<teamFetch repositoryAddress="https://dev.1-gateway.org/ccm/"
userId="u12345"
password="p12345"
workspaceName="??"
buildResultUUID="??"
destination="??"
verbose="true" />
代替,我宁愿尝试(非ant)命令,这相当于 GUI 操作的命令行:
右键单击存储库工作区的组件 ->
上下文菜单显示->
存储库文件,
在视图中,右键单击该文件 ->
上下文菜单加载或加载为...
See 这个例子 https://jazz.net/forum/questions/125536/how-load-only-one-file-within-a-component-with-scm-load:
c:\test>scm ls comp 1151
Workspace: (1151) "commandline" <-> (1147) "cli"
Component: (1152) "commandline Default Component"
Component: (1166) "Test Cases"
c:\test>scm ls rf -r ella 1151 1152 --depth -
/
/CliTest2/
/CliTest2/CommandLine_Readme3.txt
/CliTest2/CommandLine_Readme2.txt
/CliTest2/CommandLine_Readme1.txt
/CliTest3/
/CliTest3/CommandLine_Readme3.txt
/CliTest3/CommandLine_Readme2.txt
/CliTest3/CommandLine_Readme1.txt
1151 是工作区别名,1152 是组件别名。
您还可以为每个项目指定名称或 uuid,而不是别名。
远程路径中包含组件名称:
c:\test\load>scm load 1151 "commandline Default Component/CliTest2/CommandLine_Readme3.txt"
Successfully loaded items into the sandbox.
远程路径中包含组件别名:
c:\test\load>scm load 1151 1152/CliTest2/CommandLine_Readme2.txt
Successfully loaded items into the sandbox.
注意:别名是临时的,不应在脚本中使用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)