felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: questions on eventlistener
Date Fri, 19 Aug 2011 17:42:08 GMT
You bundle needs to list any external packages that it uses on its 
Import-Package header (except for java.* packages).

-> richard

On 8/18/11 4:31, 楊富丞 (Kenneth Yang) wrote:
> Hi,
> I am new to OSGi.
> I am currently studying the case of eventlistener and try to add an external
> jar as API to support my modification.
> After exporting the maven project as a bundle in Felix, i intended to
> install it to the Felix.
> Unfortunately, it failed due to "unable to resolve the missing requirement
> package".
> Then i remove the external package from the "Import-Package" in manifest
> file and give a second try.
> Again, it failed.
> If I added an external jar as my API, beside the framework, should i require
> the package name in the manifest?
> or any further modification?
> Thanks a lot
> Best,
> Kenneth

View raw message