【问题标题】:Eclipse: Include required features to update siteEclipse:包括更新站点所需的功能
【发布时间】:2020-07-07 18:20:45
【问题描述】:

我正在开发一个 Eclipse 插件,它需要第三方插件,例如 AJDT(AspectJ 开发工具)插件。 当用户想要从更新站点安装我的插件并且在他的可用更新站点列表中没有安装或启用 AJDT 时,安装将失败。

我在 site.xml 旁边创建了一个文件 associateSites.xml,并在 site.xml 中包含了引用:标记:

<site
  associateSitesURL="associateSites.xml">

associateSites.xml 的内容如下所示:

<associateSites>
<associateSite url="..."/>
</associateSites> 

这似乎没有想要的效果。还有其他方法吗?

【问题讨论】:

  • 运气好吗?我也有同样的问题。

标签: eclipse update-site


【解决方案1】:

似乎不推荐使用 associateSitesURL。

这会有所帮助:

Include an external update site in my update site in Eclipse

一起

Feature Export Wizard

你必须添加

<repository-reference location=...>

在 category.xml 中标记并按照Feature Export Wizard 中的描述导出功能,选中“分类存储库”选项。

【讨论】:

    【解决方案2】:

    尝试将 associateSitesURL 设为绝对 URL(例如,http://www.yourdomain.com/updates/associateSites.xml

    【讨论】:

      猜你喜欢
      • 2012-04-19
      • 1970-01-01
      • 1970-01-01
      • 2019-12-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多