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

Kind regards,

     Peter Kriens
     
RSH> 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.

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

->> richard


-- 
Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599

Reply via email to