Hi all,
I just noticed that Gerrit validation builds are currently failing.
The root error is:
!ENTRY org.eclipse.jdt.core.tests.compiler 4 0 2014-07-24 19:25:51.397
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.core.tests.compiler [17]
Unresolved requirement: Require-Bundle: org.eclipse.jdt.annotation; bundle-version="[1.1.0,3.0.0)"
-> Bundle-SymbolicName: org.eclipse.jdt.annotation; bundle-version="2.0.100.v20140705-1038"
org.eclipse.jdt.annotation [21]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
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)
!ENTRY org.eclipse.jdt.annotation 2 0 2014-07-24 19:25:51.625
!MESSAGE Could not resolve module: org.eclipse.jdt.annotation [21]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"
For some reason, Tycho selects the version of
org.eclipse.jdt.annotation that is compatible with Java 8, whereas
build/tests are using Java 7.
I'm trying to find out why Tycho makes this bad choice.
|