On 2 Dec 2009, at 17:32, Bertrand Delacretaz wrote:

On Wed, Dec 2, 2009 at 6:24 PM, Ian Boston <i...@tfd.co.uk> wrote:

On 2 Dec 2009, at 17:15, Bertrand Delacretaz wrote:
... In the current jackrabbit-server bundle, that RepositoryConfig class
is provided by the jackrabbit-core-1.6.0.jar, embedded in the bundle
via an Embed-Dependency option in the bundle's pom.xml

Maybe your custom bundle is missing that?

Does that mean that I have to upgrade my custom server bundle to 1.6 ?

AFAIK the only requirement is that your server bundle provides a
SlingRepository service to the other bundles.

...My server bundle is currently based on 1.5 and so has the 1.5 repository
core....

Maybe it's importing too many packages and getting mixed up with some
1.6 things from somewhere?

Ahh Ok, I think I know what's happening, the SNAPSHOT version of the Server bundle moved to 1.6, I build my version of the server by repackaging the 2.0.5-SNAPSHOT version of the server bundle with a hard coded MANIFEST.MF which doesnt list 1.6 deps so the bundle starts but fails to import (NoClassDefError).

Since there is no 1.5 bound release of the server bundle looks like I am going to have to upgrade to 1.6.

I would check that bundle's imports in the OSGi console, and compare
with launchpad/app.

...Was there a release of the the versions that the snapshots were targeting
before this change was made?
I cant find one that works, except for local builds at r884645...

You mean before the change to 1.6? I'm not sure but I don't think so.

:(

Should we be doing releases before major version changes?

Ian


-Bertrand

Reply via email to