在RTC命令行界面中确定存储库工作空间的流目标

时间:2013-03-20 17:04:39

标签: rtc

我有一个存储库工作区,它有一个默认的流目标。我想编辑流目标并使其仅限于少数组件。这可以从RTC Eclipse Client获得。如何从RTC命令行界面实现相同的功能。请参考RTC 3.0.1.3告诉我们。

1 个答案:

答案 0 :(得分:2)

我不确定该API是否适用于3.x,或仅适用于4.x,但this sequence of lscm commands似乎产生了范围内的流目标:

# Set a component as the flow target
$ lscm workspace flowtarget TestWorkspace1 TestStream1 -C TestComp2  -r lo
Successfully updated the flow target.

# View workspace flow target that was scoped to specific components
$ lscm workspace flowtarget TestWorkspace1 TestStream1 -r <repo>
(1352) "TestStream1" (scoped) (current)
The following components flow from/to this flow target:
  (1351) "TestComp2"

您可以在Rational Team Concert 4.0.1 M4 Milestone中看到该命令,因此RTC3.x中无法使用该命令。