2014-09-26 88 views

回答

0

您可以查看文章“Using the SCM Command Line Interface in builds”,其中描述了SCM命令行界面(SCM CLI)如何允许用户加载,提交并从脚本提交更改。

它使用SCM CLI,它可以在任何RTC“客户端”下载的jazz/scmtools/eclipse中找到。
您有一些在“Loading Content from a Jazz Source Control Repository in Rational Team Concert 2.0, 3.0 and 3.0.1”中使用该CLI加载沙盒的示例。

而不是scm,你也可以使用特定的ant任务teamFetch

<teamFetch repositoryAddress="${repositoryAddress}" 
      userId="${userId}" 
      passwordFile="${passwordFile}" 
      workspaceUUID="${env.workspaceId}" 
      destination="${sourceDir}" 
      verbose="true" />