Problem with split packages [message #47114] |
Fri, 18 March 2005 09:14  |
Eclipse User |
|
|
|
I am seeing a problem with resolving a split package across bundles (using
Eclipse 31 M5a driver). Here is the scenario:
Bundle-A :
Export-Package: package.split
Bundle-B :
Require-Bundle: Bundle-A
Export-Package: package.split
Bundle-glue:
Require-Bundle: Bundle-A, Bundle-B
Reexport-Package: package.split; foo="bar"
After launching, Bundle-Glue doesn't seem to get resolved.
If I turn on tracing on OSGi resolver options, I see the following message,
before Bundle-glue is declared not resolved:
"* grouping clash with [Bundle-A] : package.split"
Can someone explain what this means ? Is this not a valid split-package
scenario ?
Thanks,
Subbarao
|
|
|
|
Re: Problem with split packages [message #47173 is a reply to message #47114] |
Wed, 23 March 2005 07:47  |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Subbarao,
are you sure you may name your package "package.XYZ"?
"package" is not allowed as identifier in Java.
Cheers
/Eike
Subbarao Meduri wrote:
> I am seeing a problem with resolving a split package across bundles (using
> Eclipse 31 M5a driver). Here is the scenario:
>
> Bundle-A :
> Export-Package: package.split
> Bundle-B :
> Require-Bundle: Bundle-A
> Export-Package: package.split
> Bundle-glue:
> Require-Bundle: Bundle-A, Bundle-B
> Reexport-Package: package.split; foo="bar"
>
> After launching, Bundle-Glue doesn't seem to get resolved.
> If I turn on tracing on OSGi resolver options, I see the following message,
> before Bundle-glue is declared not resolved:
>
> "* grouping clash with [Bundle-A] : package.split"
>
> Can someone explain what this means ? Is this not a valid split-package
> scenario ?
>
> Thanks,
> Subbarao
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05586 seconds