Discussion:
Avoid Unresolved requirement: Require-Capability in Multi Platform Builds
(too old to reply)
Dietrich, Christian
2018-08-03 10:45:35 UTC
Permalink
Hi,

in tests we get error messages like that one e.g. when built on linux.
how can we avoid that?

Thanks Christian

!ENTRY org.eclipse.jdt.launching.macosx 4 0 2018-08-03 08:56:47.924
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.eclipse.jdt.launching.macosx [227]
Unresolved requirement: Require-Capability: eclipse.platform;
filter:="(osgi.os=macosx)"

at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Continue reading on narkive:
Loading...