On Jan 25, 2007, at 4:27 PM, Emil Eifrém wrote:

On 1/25/07, Richard S. Hall <[EMAIL PROTECTED]> wrote:
This instruction would be used to match the specified Maven dependencies for embedding. Any matching dependency would have its JAR file embedded
onto the resulting bundle JAR file and it would be appended to the
Bundle-ClassPath header after ".".

Hey, thanks guys for coming back to this issue. The proposal is a good
step forward. One question tho. If I use a class that is provided by a
jar file on Bundle-Classpath... won't the plugin still generate an
Import-Package statement for the package of that class? If it does, it
is my understanding that an osgi runtime will reject our bundle since
it won't find a matching Export-Package anywhere.

No, it won't. Classes on the bundle class path will be considered part of the content of the bundle and BND will not generate imports for packages that are part of the content of the bundle.

-> richard

Reply via email to