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

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Fri Nov 29 12:10:06 EST 2013


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

Snjezana Peco commented on JBIDE-16161:
---------------------------------------

{quote}
I agree, but I feel it's better to look for the more sustainable solution (Wiring API) instead of the easiest one.
{quote}

I think, we can't easily fix the issue in the tests since it can happen in some plugin that is used by a test (many JBT plugins use CompatibilityEditor that requires the compatibility fragment, for instance).
In this moment, the easiest way to fix the issue is to add the compatibility fragment. That can be done by adding the o.e.e4.rcp feature or by some other way. Any other solution would require a lot of changes in the JBT tests and plugins.

{quote}
See for example https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstools-openshift_master/
{quote}

Openshift probably uses an older version of the server (and base) component since those components aren't built.

The compatibility fragment can be added to particular tests. However, it is not easy to determine whether a test fails due to the missing compatibility fragment or for some other reason.

                
> 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