Hi Rob, On Tue, Mar 19, 2013 at 9:16 AM, Robert A. Decker <[email protected]> wrote: > ...For your question 'Do you embedd activemq in the bundle ?', is there > something else I could do?...
Importing packages from other bundles can be cleaner than embedding, but AFAICS activemq is not delivered as an OSGi bundle by default so you would need some tweaking anyway. Maybe look if Karaf or ServiceMix have a bundleized version, which they do for many projects. If it's only your bundle where logging is disabled, you need to make sure there are no extra logging related classes in it - look at the generated bundle with unzip -l for example to see what's in it exactly, and maybe try filtering that by hand (unpack/repack the jar file) to diagnose before tackling the Maven build problem If your bundle disables the whole Sling logging, that would indicate that your bundle exports too much, including logging classes, which would be a problem of the bundle's Export-Package header. -Bertrand
