[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 13:01:06 EST 2013


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

Mickael Istria edited comment on JBIDE-16161 at 11/29/13 1:00 PM:
------------------------------------------------------------------

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429 , CompatibilityEditor should not depend on PlatformAdmin in the future. I guess your help on this issue on Platform side would be welcome.
So that means that hopefully, by 4.4.M4, this fragment won't be necessary any more, and will slowly disappear.
But until then the only workaround is to add the <dependency> to tycho-surefire-plugin as you suggested. But since some tests are working fine without it, and as you said, it's not easy to understand why a test is failing, I prefer avoiding enabling it by default and have it only added to the relevant surefire executions where it is necessary. It will be easier to figure out which tests actually require it.

I'll send a mail to jbosstools-dev to ask people who have failing tests to try with this bundle.
                
      was (Author: mickael_istria):
    See https://bugs.eclipse.org/bugs/show_bug.cgi?id=417429 , CompatibilityEditor should not depend on PlatformAdmin in the future. I guess your help on this issue on Platform side would be welcome.
So that means that hopefully, by 4.4.M4, this fragment won't be necessary any more, and will slowly disappear.
But until then the only workaround is to add the <dependency> to tycho-surefire-plugin as you suggestion. But since some tests are working fine without it, and as you said, it's not easy to understand why a test is failing, I prefer avoiding enabling it by default and have it only added to the relevant surefire executions where it is necessary. It will be easier to figure out which tests actually require it.

I'll send a mail to jbosstools-dev to ask people who have failing tests to try with this bundle.
                  
> 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