2013-08-01 80 views
0

我使用xtext在eclipse juno中製作了一個插件,我使用以下教程打包插件:http://www.vogella.com/articles/EclipsePlugIn/article.html#p2deployplugin ... sec 6.爲插件創建更新站點,並將其安裝到相同版本的Eclipse IDE和安裝成功。我需要安裝在其他版本的Eclipse的(太陽神,伽利略等),但是當我嘗試在赫利俄斯安裝出現以下消息:eclipse xtext插件版本與eclipse IDE的兼容性

Cannot complete the install because one or more required items could not be found. 
    Software being installed: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127) 
    Missing requirement: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127) requires 'org.eclipse.xtext 2.0.0' but it could not be found. 

我搜索org.eclipse.xtext 2.0.0罐子添加到依賴項,但我沒有找到它。 我不知道這是否可行,但我想問一下是否有一些方法可以讓我的插件與各種版本的Eclipse IDE兼容以及如何兼容。與後向版本和前向版本兼容。我會很感激有關它的任何信息。對不起,我的英語非常感謝。 =)

回答

0

如果Eclipse安裝不包含Xtext,則需要爲Eclipse提供它所在的插件庫(有時稱爲更新站點)的URL。這將使Eclipse在安裝插件時發現並安裝您的依賴關係。您可以在Xtext網站上找到您需要的網址。

http://www.eclipse.org/Xtext/download.html

+0

我把網址,但錯誤出現這是問題 –

+0

你需要澄清,你已經使用了什麼網址,你已經添加它,等等。 –

0

嘗試看看在這兩個日食instalations的XTEXT插件版本:

Help > About Eclipse > Installation Details. 

在插件選項卡中,搜索的Xtext UI核心

對不起我的英語。