请使用下列任何方法对 IBM® Rational® Synergy 和 IBM Rational Rhapsody® DiffMerge 进行协同设置。
过程
- 在 PATH 环境变量中包括 IBM Rational Rhapsody 安装文件夹(例如 <Rhapsody installation path>\Rhapsody73)中的
DiffMerge.exe 文件的位置。
- 将 Rational Rhapsody 类型定义文件导入到 Rational Synergy/CM 中。这会将 Rational Rhapsody 类型添加到 Rational Synergy Type Manager 中。另外,它还将链接
Rational Rhapsody DiffMerge 以便对
Rational Synergy 中的
Rational Rhapsody 文件执行比较和合并操作。有关如何导入此文件的指示信息,请参阅设置 Rational Rhapsody 以便与 Rational Synergy 配合使用中的步骤 5。
- 要从 Rational Rhapsody DiffMerge 中使用 Rational Synergy 文本差集工具,请在 Rational Rhapsody DiffMerge 中通过指定这些设置并设置下列值。在设置这些首选项并保存对其所作的任何变更之后,您每次使用 Rational Rhapsody DiffMerge 时都将使用这些设置。
- BaseAwareTextDiffMergeEnabled。请选中复选框 (TRUE)
- BaseAwareAutoMergeInvocation。请输入下面这个值:ccm_merge.exe -3edu -l $source1 -r $source2
-a $sourceBase -z $output