Eclipse插件开发插件需要第二个更新站点进行安装

时间:2016-11-05 23:27:59

标签: eclipse plugins install

我正在eclipse中开发一个插件,当你尝试将插件添加到一个全新的CDT安装时,它会失败并出现以下错误:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Sloeber 4.0.0.201611052308 (io.sloeber.feature.feature.group 4.0.0.201611052308)
  Missing requirement: Ui 4.0.0.201611052308 (io.sloeber.ui 4.0.0.201611052308) requires 'package org.eclipse.nebula.widgets.oscilloscope.multichannel 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: Sloeber 4.0.0.201611052308 (io.sloeber.feature.feature.group 4.0.0.201611052308)
    To: io.sloeber.ui [4.0.0.201611052308]

我知道我需要更新网站
DOM Tree
因为这个包含我的插件所依赖的插件。

如果我将链接添加到“软件安装站点”,则插件安装正常 但是,我不希望用户在安装插件之前必须手动添加此链接 为了解决这个问题,我已经将“星云”网址添加到我的更新网站的category.xml中的“存储库属性”“其他存储库”中,并添加到我的feature.xml中的信息“要访问的网站”但无济于事。 / p>

所以我的问题是:如何添加其他更新站点的链接,以便一次性安装插件?

1 个答案:

答案 0 :(得分:1)

解决方案是将这些额外的更新站点添加为功能,就像您使用自己的插件一样。这就是我的更新站点项目中现在的样子。 enter image description here

可以看到代码更改here

相关问题