Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-04 Thread Bertrand Delacretaz
Hi Dragos, On Mon, Nov 3, 2014 at 7:35 PM, Dascalita Dragos ddrag...@gmail.com wrote: ...There are only 4 that don't resolve now, but they don't resolve either when I run the launchpad-standalone-[1] on my machine so I can conclude that this issue it's not related to the setup of the test...

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Carsten Ziegeler
Hi Dragos, if the settings service is not started, I guess a lot of other services won't start as they depend on it - so the settings service seems to be the root cause. The sling.event bundle works perfectly for me, apart from some sporadic problems it run on Jenkins as well. Are you on windows

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Bertrand Delacretaz
Hi Dragos, On Mon, Nov 3, 2014 at 8:16 AM, Dascalita Dragos ddrag...@gmail.com wrote: ...I've been trying to use the example from the SlingPaxOptions - [1] wrapper with Sling 7 bundlelist. While most of the bundles are showing as active, a big number of OSGI components don't start... I have

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Bertrand Delacretaz
Hi, On Mon, Nov 3, 2014 at 12:30 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: ... I have adapted that module's tests to use the released Launchpad 7, and all bundles start, the tests pass on my macosx system, but they don't currently check the presence of the SlingSettings service...

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Bertrand Delacretaz
On Mon, Nov 3, 2014 at 12:57 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...Here's a patch that allows SlingSettingsService to start with launchpad 7: https://gist.github.com/bdelacretaz/dee49a174147e066b2b4 ... I have now integrated a workaround for the missing StartupHandler, the

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Dascalita Dragos
Hi Carsten, thanks a lot for helping. I'm running the tests on a MacOSX 10.9.5 with Java 7. I've tried to investigate what's making the integration-tests fail but I couldn't figure out the root cause. I can see that Pax URL Aether has issues and the rest of the tests fail to load the cached

Re: Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-03 Thread Dascalita Dragos
Bertrand, thank you very much ! I wouldn't have guessed the StartupHandler issue by myself. After adding the @Before and @After methods I can now see most of the components resolving. There are only 4 that don't resolve now, but they don't resolve either when I run the launchpad-standalone-[1]

Any Sling 7 + Java 7 Integration Tests bundles with Pax ?

2014-11-02 Thread Dascalita Dragos
Hi, I'm wondering if there's a bundle that I could use as an example to run Sling 7 during integration-tests. I've been trying to use the example from the SlingPaxOptions - [1] wrapper with Sling 7 bundlelist. While most of the bundles are showing as active, a big number of OSGI components don't