Hi Alex

I was looking at the same tests and just found out that the failures
are due to an incompatibility between
org.apache.sling.repoinit.parser:1.0.4 and (the current)
org.apache.sling.jcr.repoinit:1.0.3-SNAPSHOT. Updating to
org.apache.sling.repoinit.parser:1.0.5-SNAPSHOT in the Pax-Definitions
in org.apache.sling.jcr.oak.server.it.OakServerTestSupport worked for
me. You may first need to build the latest snapshots of these two
repoinit bundles, however.

Regards
Julian


On Tue, Nov 8, 2016 at 9:01 PM, Alexander Klimetschek
<aklim...@adobe.com> wrote:
> I have some trouble building Sling (all of it, it's been a while since I 
> tried that :)
>
> 1. It seems the Sling build requires Java 1.8 ("Apache Sling Testing PaxExam" 
> project failed with not all bundles loaded when I ran it with a 1.7 JDK). A 
> check/hint at the start of the build would be great.
>
> 2. Then I get one project further to "Apache Sling JCR Oak Repository Server" 
> which fails as well during the test with not all bundles loaded issues:
>
> Tests in error:
>   
> LoginAdminBlacklistedIT.org.apache.sling.jcr.oak.server.it.LoginAdminBlacklistedIT
>  » TestContainer
>   
> LoginAdminWhitelistedIT.org.apache.sling.jcr.oak.server.it.LoginAdminWhitelistedIT
>  » TestContainer
>   OakServerIT.org.apache.sling.jcr.oak.server.it.OakServerIT » TestContainer 
> The…
>
> I see this in the log:
>
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.sling.jcr.repoinit [79](R 79.0): missing requirement 
> [org.apache.sling.jcr.repoinit [79](R 79.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.repoinit.parser.operations)(version>=3.0.0)(!(version>=4.0.0)))
>  Unresolved requirements: [[org.apache.sling.jcr.repoinit [79](R 79.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.sling.repoinit.parser.operations)(version>=3.0.0)(!(version>=4.0.0)))]
>         at 
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4111)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
>         at 
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
>         at 
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
>         at java.lang.Thread.run(Thread.java:745)
>
>
> 3. Still A LOT of projects to go in the build, so I am now going to skip the 
> tests :(
>
> Cheers,
> Alex

Reply via email to