Thanks a lot for the very fast answers!

I am trying Neils approach, but have now a class-not-found problem in a
completely different bundle ... need to check that out first ...

Regards
Stephan



On Thu, Dec 12, 2013 at 4:32 PM, Neil Bartlett <[email protected]> wrote:

> Set the framework property "org.osgi.framework.system.packages.extra" to
> the (list of) additional package(s) that you wish to export from the system
> bundle.
>
> --
> Neil Bartlett
> Sent from a phone
>
>
> On Thursday, 12 December 2013 at 14:54, Robert Munteanu wrote:
>
> > Hi Stephan,
> >
> > On Thu, 2013-12-12 at 15:48 +0100, Stephan Burkard wrote:
> > Hi Felix users
> > >
> > > I have an embedded JAR in my bundle that has a dependency to the
> package
> > > "com.sun.script.javascript" from rt.jar.
> > >
> > > How can I "activate" and use the classes from this package in my OSGi
> > > bundle since this package is not available in the system bundle?
> > >
> > > Thanks for any help
> > > stephan
> > >
> >
> > Most straightforward way would be to create a fragment for the system
> > bundle which exports the com.sun.script.javascript.
> >
> > One Maven-based example for javax.activation can be found at [1]
> >
> > Cheers,
> >
> > Robert
> >
> > [1]:
> http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/framework-extension-activation/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
>

Reply via email to