Hi Emmanuel,

You may want to look at the multi-bundle distro
http://cxf.apache.org/dosgi-multi-bundle-setup.html
The single-bundle distro was really created to get started quickly but
it's not quite the right solution for real deployment in many cases.
One of the issue is that you might have overlap of bundles that are
both inside the single-bundle distro as well as in the OSGi framework,
which I think is your problem.

Using the multi-bundle distro should be much cleaner in that case and
although you get more bundles installed in your framework, its a much
better solution IMHO than tweaking the single-bundle distro...

Cheers,

David

On 8 March 2011 13:26, Emmanuel Ligne <[email protected]> wrote:
> Hi everyone,
>
> Just developed a small OSGi bundle, and made it remotely available as a
> WebService using iPojo and
> dosgi singlebundle 1.2.
> Everything works fine when the runtime platform (felix) is populated
> manually with osgi-compendium and dosgi singlebundle (cf dosgi samples).
> I try to automate the building of a minimal runtime platform by
> automatically following the dependencies of
> my top-levels osgi bundles. I'm using maven-dependency-bundle for that, goal
> .
>
> Running this on a pom depending on dosgi singlebundle imports all the
> bundles already packaged inside
> dosgi singlebundle. This ultimately breaks the runtime, which does not start
> correctly.
>
> Is there a way to repackage dosgi singlebundle so that it does not import
> dependencies on the packages it already include ? Just tried with 1.3
> snapshot and still the same issue.
>
> Thanks
> Emmanuel
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/DOSGi-singlebundle-jar-exposing-dependencies-tp3413919p3413919.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to