Hi all,
As part of Luna came a change that we've not correctly estimated:
http://wiki.eclipse.org/Equinox/Luna_Framework#Removal_of_the_PlatformAdmin_Service_Implementation
. This cause some parts of Eclipse to be failing with surefire as
they depend on a class which is not available in default Equinox
bundles any more. The TEMPORARY workaround is to add a dependency to
your tycho-surefire-plugin to fragment
org.eclipse.osgi.compatibility.state.
So in case of failing test, try to add the fragment locally, and if
it works better, open a bug to keep track of that change (make me a
dep of JBIDE-16161). This should be fine for JBT 4.2.0.Alpha1 build
and tests against Luna M3.
Then by Luna M4, this should happen:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429 , and
hopefully, it will remove most of our dependencies on this somehow
deprecated PlatfromAdmin service. We'll be able to get rid of the
additional dependency on surefire, and everything will be fine.
In case you have a message in your tycho-surefire-plugin saying
"Could not acquire PlatformAdmin", you can safely ignore it
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429 . It's just a
warning. What's important is whether your tests do work or not, and
if not, whether adding the fragment helps.