Hi,

well it should have had a dynamic-import in the first place (if it's
already a OSGi bundle)
But you might find it easier to create a Fragment bundle that only contains
a new Manifest containing only this Dynamic-Import part and attach it to
the third-party bundle in question.
I got an example of how this is done at [1], it's basically just a module
containing only a manifest.

Regards, Achim

[1] -
https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-features/xbean-fragment



2013/10/18 homeration <[email protected]>

> Hi Achim,
>
> In my case, I can add the specific packages to import (which are of course
> exported). I find it unfortunate that we should edit third-party modules.
> Are there no other ways in Karaf to add imported packages for a particular
> module (without touching the JAR file) ?
>
> regards, Christophe.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Dynamic-import-into-non-user-library-tp4029990p4029992.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to