搭配使用
Rational Rhapsody
工作流程整合與 Eclipse
與 Eclipse 的工作流程整合可讓您鏈結
Rational® Rhapsody®
模型與 Eclipse 專案。您可以將模型鏈結至新的 Eclipse 專案,或者將現有的 Eclipse 專案匯入至
Rational Rhapsody
。一旦鏈結兩個專案,就可以在 Rational Rhapsody 中新增模型元素並使用 Eclipse 撰寫程式碼,並將已修改的程式碼來回到
Rational Rhapsody
模型中。
將 Eclipse 專案匯入 Rational Rhapsody
IBM Rational Rhapsody
可讓您輕鬆快速地匯入 Eclipse 專案。 匯入 Eclipse 專案時,專案中包含的所有元素均作為模型元素進行反向工程和新增。 匯入的元素在新套件中新增,該新套件使用原始 Eclipse 專案的名稱。
建立 Eclipse 配置
若要將 Eclipse IDE 與現有的
Rational Rhapsody
模型搭配使用,必須在模型中建立 Eclipse 配置,然後使用 Eclipse 中的「Rhapsody 專案精靈」來指定設定,例如要與
Rational Rhapsody
模型相關聯的 Eclipse 專案。
開啟現有 Eclipse 配置
如果您模型中的作用中配置是 Eclipse 配置,則可以使用主功能表中的「開啟 IDE...」選項來開啟 Eclipse 中相關聯的專案。
搭配 Rational Rhapsody 使用 Workbench 3.0
如果您要搭配
Rational Rhapsody
使用 Wind River Workbench 3.0 (VxWorks 6.6),請進行下列變更:
用於 Eclipse 配置的 Rational Rhapsody 標籤
為 Eclipse 配置 Rational Rhapsody
Rational Rhapsody
模型中 Eclipse 配置的設定可以使用「特性」視窗細調。可以使用視窗之 IDE 選項卡上的選項來 1) 指定哪個程式應該建置應用程式(Eclipse 或
Rational Rhapsody
) 2) 指定當在模型中進行變更以建置設定(例如與建置相關的內容)時,是否應該更新 Eclipse 中的建置設定 3) 指定是否應該將 Eclipse 除錯器與動畫特性一起使用
Eclipse Workbench 內容
使用 Eclipse 編輯 Rational Rhapsody 程式碼
一旦建立
Rational Rhapsody
模型與 Eclipse 專案之間的關聯,就可以在
Rational Rhapsody
瀏覽器中使用蹦現功能表來開啟元素的程式碼,以在 Eclipse 中進行編輯。
在 Eclipse 中尋找實作程式碼
一旦建立
Rational Rhapsody
模型與 Eclipse 專案之間的關聯,就可以在
Rational Rhapsody
瀏覽器來尋找 Eclipse 中的模型元素。
使用 Rational Rhapsody對 Eclipse 安裝進行疑難排解
如果與 Eclipse 的工作流程整合為按預期工作,則應該檢查許多設定。
在 Eclipse 與 Wind River Workbench 之間切換
您可以使用 rhapsody.ini 檔 [IDE] 區段中的 EclipsePath 內容,來判斷在使用
Rational Rhapsody
工作流程整合時,何時應該啟動哪個版本的 Eclipse。您可以修改此內容的值,以在 Eclipse 與 Wind River Workbench 之間切換,或者在您已安裝的多個 Eclipse 版本之間切換。
將 Eclipse 專案與 Rational Rhapsody 分離
您可以從 Eclipse 或
Rational Rhapsody
中,移除
Rational Rhapsody
模型與 Eclipse 專案之間的關聯。
上層主題:
整合 Rational Rhapsody 及 Eclipse
意見回饋