Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Orbit packages with versions
Orbit packages with versions [message #113977] Fri, 11 July 2008 12:04 Go to next message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
Hi,

Riena uses two components that are maintained in Orbit that we have slight problem with. One is org.apache.log4j and the
other is org.easymock. The problem is that the bundle specifies a bundle version but the packages have no such version.

Now we have a pretty keen user of Riena (a very nice person actually) who asked us the replace Require Bundle statements
in our manfest files with import package statements. We did that but found out that Equinox or the PDE is not able to
find a matching bundle if we import the package with version number.

The reason seems to be that if the bundle exports a package and does not specify a package version then it does not mean
(as I would assume) that the package version is the bundle version but it is no version. So asking for a specific
version of a package resolves to no bundle found.

1. Is that a bug or a feature that packages with no version info dont "inherit" the bundle version

2. I guess I have to bug the person who added the bundle to add the package version info ? right ?

thanks

christian campo
Re: Orbit packages with versions [message #115920 is a reply to message #113977] Tue, 12 August 2008 14:37 Go to previous message
Eclipse UserFriend
Originally posted by: eclipseng.arthorne.com

1. Feature.
2. Right.
--


Christian Campo wrote:
> Hi,
>
> Riena uses two components that are maintained in Orbit that we have
> slight problem with. One is org.apache.log4j and the other is
> org.easymock. The problem is that the bundle specifies a bundle version
> but the packages have no such version.
>
> Now we have a pretty keen user of Riena (a very nice person actually)
> who asked us the replace Require Bundle statements in our manfest files
> with import package statements. We did that but found out that Equinox
> or the PDE is not able to find a matching bundle if we import the
> package with version number.
>
> The reason seems to be that if the bundle exports a package and does not
> specify a package version then it does not mean (as I would assume) that
> the package version is the bundle version but it is no version. So
> asking for a specific version of a package resolves to no bundle found.
>
> 1. Is that a bug or a feature that packages with no version info dont
> "inherit" the bundle version
>
> 2. I guess I have to bug the person who added the bundle to add the
> package version info ? right ?
>
> thanks
>
> christian campo
Previous Topic:How to "callback" to equinox platform from servlet?
Next Topic:patch behavior
Goto Forum:
  


Current Time: Tue May 14 00:53:51 GMT 2024

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

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

Back to the top