On 7/20/10 1:20, Sudhir Dharmadhikari wrote:
I am trying simple osgi bundle which has every dependency embedded
inside my bundle. By default, bundle-plugin creates several entries in
Import-Package and Export-Package . I want to get rid of them
completely. I tried several ways . If I try giving empty
Import-Package , it fails at build. I tried blank _exportcontents,
does not work too !
Any clue ?
I don't believe it should ever export anything by default, so if it is
exporting it seems you must be telling it to do so somehow. On the other
hand, it imports everything not included in the bundle by default. Not
importing anything at all is harder than you might think. If you need
any of the OSGi API then you need to import those packages; if you use
any of the javax packages then you need to import them. But specifying
!* should not import anything.
-> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]