You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2014/05/28 17:58:01 UTC

[jira] [Commented] (SLING-3615) it tests in tooling/ide/eclipse-test fail on MacOS due to missing (default) JRE

    [ https://issues.apache.org/jira/browse/SLING-3615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011236#comment-14011236 ] 

Stefan Egli commented on SLING-3615:
------------------------------------

Added a workaround: 'added TychoJREHelper which allows to explicitly install a particular JRE (configured in the pom via system property 'tycho.jre.helper.jre.home'). This is meant as a workaround until someone finds a better/more appropriate solution'

> it tests in tooling/ide/eclipse-test fail on MacOS due to missing (default) JRE
> -------------------------------------------------------------------------------
>
>                 Key: SLING-3615
>                 URL: https://issues.apache.org/jira/browse/SLING-3615
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>            Reporter: Stefan Egli
>             Fix For: Sling Eclipse IDE 1.0.0
>
>
> As a follow-up of SLING-3564: I'm still getting it failures:
> {code}
> Failed tests:  
> deployBundleOnServer_localInstall(org.apache.sling.ide.test.impl.BundleDeploymentTest): Unexpected status call for http://localhost:56252/simple-servlet (expected 200, got 404)
>   
> deployBundleOnServer_jarredInstall(org.apache.sling.ide.test.impl.BundleDeploymentTest): Unexpected status call for http://localhost:56252/simple-servlet (expected 200, got 404)
>   
> wildCardHeaderIsIgnored(org.apache.sling.ide.test.impl.ServiceComponentHeaderValidatorTest):
>   
> manifestNotUnderOutputDirectoryIsIgnored(org.apache.sling.ide.test.impl.ServiceComponentHeaderValidatorTest):
>   
> missingDescriptorIsReported(org.apache.sling.ide.test.impl.ServiceComponentHeaderValidatorTest):
>   
> presentDescriptorIsNotReported(org.apache.sling.ide.test.impl.ServiceComponentHeaderValidatorTest):
> {code}
> The problem can be narrowed down to the fact that the eclipse launched by tycho-surefire-plugin does not have a default JRE configured. It complains that:
> {code}
> Unbound classpath container: 'Default System Library' in project 'test-project-1'
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)