<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I opened JIRA
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://issues.jboss.org/browse/JBIDE-16172">https://issues.jboss.org/browse/JBIDE-16172</a>
with PR to fix problem with Running UI Plug-in JUnnit tests with
Luna M3 TP.<br>
<br>
Denis<br>
<br>
On 11/29/2013 10:10 AM, Mickael Istria wrote:<br>
</div>
<blockquote cite="mid:5298D889.8010606@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
As part of Luna came a change that we've not correctly estimated:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.eclipse.org/Equinox/Luna_Framework#Removal_of_the_PlatformAdmin_Service_Implementation">http://wiki.eclipse.org/Equinox/Luna_Framework#Removal_of_the_PlatformAdmin_Service_Implementation</a>
. 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.<br>
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.<br>
<br>
Then by Luna M4, this should happen: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429">https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429</a>
, 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.<br>
<br>
In case you have a message in your tycho-surefire-plugin saying
"Could not acquire PlatformAdmin", you can safely ignore it <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429">https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429</a>
. It's just a warning. What's important is whether your tests do
work or not, and if not, whether adding the fragment helps.<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a moz-do-not-send="true"
href="http://www.jboss.org/tools">JBoss, by Red Hat</a><br>
<a moz-do-not-send="true"
href="http://mickaelistria.wordpress.com">My blog</a> - <a
moz-do-not-send="true" href="http://twitter.com/mickaelistria">My
Tweets</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbosstools-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbosstools-dev@lists.jboss.org">jbosstools-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev">https://lists.jboss.org/mailman/listinfo/jbosstools-dev</a></pre>
</blockquote>
<br>
</body>
</html>