【发布时间】:2019-06-13 10:35:29
【问题描述】:
在 Eclipse 插件开发中需要了解目标平台和依赖关系。 过去 3 天我都在拔头发。
如果我指定以下内容:-
<repositories>
<repository>
<id>eclipse-helios</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/helios</url>
</repository>
</repositories>
1) 对我来说,我要确保我的插件兼容从 helios on wards 运行,我的想法是不是错了? 2)应该没有解决我的平台依赖关系?
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: plugin1 1.0.0.qualifier
[ERROR] Missing requirement: plugin1 1.0.0.qualifier requires
'osgi.bundle; org.eclipse.core.runtime 0.0.0' but it could not be found
[ERROR]
[ERROR] See
http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for
help
我的清单文件包含:-
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Plugin1
Bundle-SymbolicName: plugin1;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: xxx
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui
Automatic-Module-Name: plugin1
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
当我运行我的插件时,它在 helious 下工作。 请帮助我使用 tycho 和 maven 来实现这一点。我只是不明白它的帮助文本中的“eclipse speak”。
请有人帮助我 问候, 杰姆鲁格
【问题讨论】:
-
我正在使用 Eclipse:面向 RCP 和 RAP 开发人员的 Eclipse IDE 版本:2019-03 (4.11.0) 构建 ID:20190314-1200。我的同事在开普勒,当我将我的项目发送给他们时,它对他们有用。
标签: tycho eclipse-pde