1

我正在尝试让我的 JUnit 插件测试启动器为我的 PDE 项目运行。它以前可以工作,但我更改了我的 OSGi 捆绑包的一些名称,现在它因以下原因而失败:

!ENTRY org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.android.tools_0.1.1.qualifier [76] was not resolved.
!SUBENTRY 2 me.gladwell.android.tools 2 0 2011-08-09 15:43:59.904
!MESSAGE Package uses conflict: Require-Bundle: org.eclipse.persistence.moxy; bundle-version="2.1.0"
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.904
!MESSAGE Bundle me.gladwell.eclipse.m2e.android_0.3.1.qualifier [77] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.1.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-08-09 15:43:59.905
!MESSAGE Bundle me.gladwell.eclipse.m2e.android.test_0.3.1.qualifier [78] was not resolved.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.eclipse.m2e.android_0.0.0.
!SUBENTRY 2 me.gladwell.eclipse.m2e.android.test 2 0 2011-08-09 15:43:59.905
!MESSAGE Missing required bundle me.gladwell.android.tools_0.0.0.

请查看完整的错误日志

我不确定如何诊断这些消息以及它们可能指的是哪里/什么问题。这些测试在我的命令行 Tycho-Maven 构建中成功运行,并且项目在 Eclipse 中编译没有错误。我在启动器的“启动方式”选择框中选择了“所有工作区并启用目标插件”选项。

任何想法为什么我会收到这些错误消息?

4

1 回答 1

0

如果您正在重用启动配置并且您已经更改了插件元数据的任何内容(例如它们的名称),您需要确保它正在“清除配置空间”。您将在启动器的“配置”选项卡上找到此选项。

于 2011-08-18T15:28:21.793 回答