[jbosstools-issues] [JBoss JIRA] (JBIDE-16161) Tycho tests require org.eclipse.osgi.compatibility.state fragment on Luna

Mickael Istria (JIRA) jira-events at lists.jboss.org
Fri Nov 29 11:33:05 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-16161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927634#comment-12927634 ] 

Mickael Istria commented on JBIDE-16161:
----------------------------------------

{quote}If you try it locally, you will see that a lot of services aren't started. The tests are started, but the most of them either freeze or fail.{quote}
Ok, so some pieces of code may depend on PlatformAdmin. Do you know if those are inside JBT or Eclipse? Anyway, using PlatformAdmin is somehow deprecated in favor of Wiring API, We should migrate our code, and the bundles we depend on, to this Wiring API if possible

{quote}The org.eclipse.tycho.surefire.osgibooter plugin won't start without the PlatformAdmin service, so a lot of the tests won't be run correctly.{quote}
That's not exactly true. The PlatformAdmin is only used for login purpose, if it's not there surefire.osgibooter will continue and run tests (cf quote previously "The tests are started"). I've seen some test suite working without PlatformAdmin, I'd like ours to behave the same way, and rely on more sustainable API (Wiring API).

{quote}I can't find any components that build{quote}
See for example https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-openshift_master/

{quote}Adding the o.e.e4.rcp feature would be the easiest solution{quote}
I agree, but I feel it's better to look for the more sustainable solution (Wiring API) instead of the easiest one.
                
> Tycho tests require org.eclipse.osgi.compatibility.state fragment on Luna
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-16161
>                 URL: https://issues.jboss.org/browse/JBIDE-16161
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.2.0.Alpha1
>            Reporter: Snjezana Peco
>            Assignee: Mickael Istria
>
> Since Tycho requires the PlatformAdmin service, we have to add the org.eclipse.osgi.compatibility.state fragment to tycho-surefire-plugin.
> The easiest way is to add the org.eclipse.e4.rcp feature to the main build.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list