Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
I am experiencing a weird bug in Sling Models IT. It seems that both Models API 1.1.1-SNAPSHOT and Models Impl 1.1.1-SNAPSHOT are part of the Sling Launchpad 8-SNAPSHOT. If I now run the Sling Models IT and deploy my own versions of those bundles, the API bundle is replaced by the newer version

Re: Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
It does work, if I I modify org.apache.sling.testing.tools.sling.BundlesInstaller to not uninstall the previous SNAPSHOT bundle before installing the new version (comment out line 80). What was the reason for first uninstalling the bundle? Usually an upgrade works much smoother (at least if

Re: Classloading issues with Sling Models IT

2014-12-07 Thread Konrad Windszus
Ok, that modification did not solve everything. With that change the integration tests are executed too fast (before the actual upgrade of the bundle took place). I guess the waitForBundlesInstalled method needs to be changed as well. On 07 Dec 2014, at 15:17, Konrad Windszus konra...@gmx.de