Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Orbit » org.aopalliance bundle do not specify version on exported packages
org.aopalliance bundle do not specify version on exported packages [message #14247] Wed, 10 September 2008 10:03 Go to next message
Frederic Conrotte is currently offline Frederic ConrotteFriend
Messages: 125
Registered: July 2009
Senior Member
Hello,

Following discussions about Xalan, Xerces libraries and Riena's problems
with package versioning, I have the same kind of problem in Eclipse OFMP
regarding the org.aopalliance bundle provided by Eclipse.

One of OFMP external dependencies requires
Import-Package: org.aopalliance.aop; version="1.0.0",
org.aopalliance.intercept; version="1.0.0"

But the org.aopalliance provided by Eclipse does not specify versions of
exported packages:
org.aopalliance/MANIFEST/MANIFEST.MF
(...)
Export-Package: org.aopalliance.aop, org.aopalliance.intercept
Bundle-Version: 1.0.0

instead of

Export-Package: org.aopalliance.aop; version="1.0.0",
org.aopalliance.intercept; version="1.0.0"

As reminder OSGi R4 specs specify that no version on exported or imported
packages defaults to 0.0.0 version instead of the "Bundle-Version" meta-tag
version

All these issues come from projects slowly moving to the OSGI best practice
of using "Import-Package" meta-tag instead of "Require-Bundle", which is a
good thing.
I agree with Jeff's point that it should be an Orbit-wide effort/policy to
specify imported/exported packages versions.

Should I file a bug for this to the Eclipse runtime project or should we
move org.aopalliance bundle to Orbit and fix it there ?

Thanks

Frederic
Re: org.aopalliance bundle do not specify version on exported packages [message #14269 is a reply to message #14247] Sun, 14 September 2008 00:45 Go to previous message
Eclipse UserFriend
Originally posted by: david_williams.linux.vnet.ibm.com

Frederic Conrotte wrote:
> ...
>
> Should I file a bug for this to the Eclipse runtime project or should we
> move org.aopalliance bundle to Orbit and fix it there ?
>
>
I'm not sure what the Eclipse runtime project bug would be. Is that
where the third party bundle is now?
If so, then yes.
And .. you might open a second one saying they should move it to Orbit
where most third party bundles go. :)
Re: org.aopalliance bundle do not specify version on exported packages [message #564420 is a reply to message #14247] Sun, 14 September 2008 00:45 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 176
Registered: July 2009
Senior Member
Frederic Conrotte wrote:
> ...
>
> Should I file a bug for this to the Eclipse runtime project or should we
> move org.aopalliance bundle to Orbit and fix it there ?
>
>
I'm not sure what the Eclipse runtime project bug would be. Is that
where the third party bundle is now?
If so, then yes.
And .. you might open a second one saying they should move it to Orbit
where most third party bundles go. :)
Previous Topic:org.aopalliance bundle do not specify version on exported packages
Next Topic:Can't org.jdom with Ganymede
Goto Forum:
  


Current Time: Thu Apr 25 12:01:45 GMT 2024

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

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

Back to the top