Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problem with split packages
Problem with split packages [message #47114] Fri, 18 March 2005 14:14 Go to next message
Subbarao Meduri is currently offline Subbarao MeduriFriend
Messages: 4
Registered: July 2009
Junior Member
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 #47143 is a reply to message #47114] Tue, 22 March 2005 19:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com

Looks valid. Do you have
Bundle-ManifestVersion: 2
in your manifests?

Jeff

"Subbarao Meduri" <mkv@us.ibm.com> wrote in message
news:d1eno6$87j$1@www.eclipse.org...
> 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 12:47 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Extending the OSGI Console with your own commands?
Next Topic:Maven and eclipse plugins
Goto Forum:
  


Current Time: Fri Apr 26 04:43:40 GMT 2024

Powered by FUDForum. Page generated in 0.03260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top