設定 Rational Rhapsody 以與 Rational Synergy 搭配使用

在您可以將 IBM® Rational® SynergyIBM Rational Rhapsody® 搭配使用之前,必須先設定 Rational Rhapsody,使這兩個系統可以使用 SCC 模式彼此通訊。

程序

  1. Rational Synergy 安裝 SCC 附加程式。 從 IBM 網站 (http://www.ibm.com/support/docview.wss?uid=swg21380569) 下載此附加程式:
    1. 選取 Rational Synergy 產品版本。
    2. 使用您的 IBM ID 及密碼來登入。
    3. 在 Downloads 頁面的 Integrations 區段中,選取適用 PC 整合的勾選框,然後下載該檔案。
  2. 若要啟用該整合,並在 Rational Rhapsody 中顯示 Rational Synergy 工具列,請將下列旗標新增至 rhapsody.ini 檔案的 General 區段:
    ShowSynergyTaskBar=TRUE
  3. 確定 ccm.exe 檔案(在 <Rational Synergy installation path>\bin 中)的位置,是否在 PATH 環境變數中。
  4. Rational SynergyIBM Rational Rhapsody DiffMerge 搭配使用時,您必須將 Rational Rhapsody 安裝資料夾中的 DiffMerge.exe 檔案位置(例如,<Rational Rhapsody installation path>\Rhapsody76),包括在 PATH 環境變數中。
  5. 若要將 Rational Rhapsody 類型新增至 Rational Synergy Type Manager,請使用 Rational Synergy 用戶端,將 rhapsodytypes.xml 檔案匯入 Rational Synergy。 它還會鏈結 Rational Rhapsody DiffMerge,以便比較及合併 Rational Synergy 中的 Rational Rhapsody 檔案。 rhapsodytypes.xml 檔案位於 <Rational Rhapsody installation path>\Share\cm\Synergy 中。
    註: 使用 Rational Synergy 用戶端匯入 rhapsodytypes.xml 檔案的相關指示,由該產品提供。 請參閱該產品的 Readme 檔。此外,rhapsodytypes.xml 檔案中可能包含用來與 Rational Rhapsody 整合的 Rational Synergy 安裝程式。
  6. 將下列程式碼新增至 ccm.ini 檔案。 如需 ccm.ini 檔案的相關資訊,請參閱 http://www.ibm.com/support/docview.wss?uid=swg21325190 上的主題。
    rhapsodytypes_merge_cmd = DiffMerge.exe -xmerge %file1 
       %file2 -base %ancestor -out %outfile
  7. 如果您使用 Rational Synergy Java 用戶端,請將下列程式碼新增至 ccm.properties 檔案:
    windows.tool.compare.rhapsodytypes = DiffMerge.exe -xcompare "%file1" 
    "%file2" -base "%ancestor"
    windows.tool.merge.rhapsodytypes = DiffMerge.exe -xmerge "%file1" 
    "%file2" -base "%ancestor" -out "%outfile"

回饋