iirc, the "export the framework packages so your bundle can import it doesn't work correctly". The way to go should be to just embed the framework.jar inside your bundle.
regards, Karl On Thu, Jul 28, 2011 at 3:14 PM, Richard S. Hall <[email protected]> wrote: > You should be able to do it. Either embed the framework.jar file into your > bundle or modify your outer framework to export the framework package so > your bundle can import it. > > -> richard > > On 7/28/11 6:57 AM, Quecas wrote: >> >> Hi, >> >> I am "playing" around with Felix for evaluation purposes and was trying to >> launch a new framework from within a bundle already running in a "parent" >> framework. >> >> I am experiencing "Unresolved constraints", "NoClassDefFoundError" >> depending >> on the various approaches I've tried. I have googled extensively, read >> about >> and tried various approaches: >> 1. launch with osgi.framework.system.packages.extra + declare import in >> bundle of child framaework >> 2. org.osgi.framework.bootdelegation + declare import in bundle of >> child >> framaework >> 3. Extension Bundle approach. >> >> Is this approach advisable or even possible? Should I continue to pursuit >> this approach? Am I missing something? >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

