You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Zafiu (JIRA)" <ji...@apache.org> on 2015/01/05 14:56:34 UTC

[jira] [Commented] (SLING-4259) testing/samples/integration-tests build fails under Windows

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

Andrei Zafiu commented on SLING-4259:
-------------------------------------

I checked out the latest revision from the trunk (version 1649504) and the bug cannot be replicated. I believe this issue can be closed.

> testing/samples/integration-tests build fails under Windows
> -----------------------------------------------------------
>
>                 Key: SLING-4259
>                 URL: https://issues.apache.org/jira/browse/SLING-4259
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Launchpad Builder 8
>         Environment: Windows 7 64 bit, apache sling latest trunk version (8-SNAPSHOT), java 1.7 64-bit, maven 3.2.3
>            Reporter: Andrei Zafiu
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: error.log
>
>
> After a SVN checkout from the main trunk, all the tests from testing/samples/integration-tests will fail when using the "mvn clean install" command.
> The main error seems to be that the bundles are not properly installed:
> org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing requirement [107.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.junit.scriptable [107]: Unable to resolve 107.0: missing requirement [107.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.junit)(version>=1.0.0)(!(version>=2.0.0)))
> I have attached the error.log file from sling/default/logs after 2 runs, one with the "mvn clean install command" and one with the "mvn clean verify -DkeepJarRunning=true -Dhttp.port=8999" command.
> Additional information: If I start the sling launchpad from the sling trunk and set the properties in the pom.xml of the integration-test folder to use the launched instance instead of the bundled one then the test will pass. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)