2016-11-04 43 views
1

我想從圖片中顯示的.jar文件中檢索compare.ecore模型。從.jar文件中檢索ecore模型

Model to retrieve (compare.ecore)

我試圖複製並粘貼在Eclipse IDE,但沒有奏效。我用WinRAR打開了給定路徑中的.jar文件,但是我找不到存檔中的模型。

我該如何檢索這個模型?

回答

0

我發現一個簡單的方法來檢索該模型。我在Eclipse中打開它,進行更改並通過另存爲保存...

0

不要試圖從jar中導入ecore文件。 相反:

1.窗口 - >顯示視圖 - >其他。

show view other

2.搜索 「插件」 - >確定。

search plugins

org.eclipse.emf.compare - >導入爲 - >源項目。

enter image description here

4.包資源管理器 - >org.eclipse.emf.compare - >模型 - > compare.ecore

enter image description here