Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Resolver should consider imported packages
Resolver should consider imported packages [message #646057] Tue, 21 December 2010 18:09 Go to next message
Thorsten Meinl is currently offline Thorsten MeinlFriend
Messages: 85
Registered: July 2009
Member
Hi all,

I found a problem with the Buckminster resolver and imported packages.
The org.w3c.dom.smil-plugin ia available in two versions on the
Helios-US, 1.0.0 and 1.0.1. The latter one imports the package
org.w3c.dom.events with the specific version ranges [3.0.0,4.0.0). This
means, it won't resolve with this package and so won't any other plugins
depending on org.w3c.dom.smil (e.g. Batik). From the p2-point-of-view
everthing should work since in the content.xml of the Helios-repository
the package is correctly listed under requirements of org.w3c.dom.smil
and there is an org.w3c.dom.events-plugin (version 3.0.0.xxx) that
provides the required package. However, if a CQUERY is used, this plugin
does not end up in the target platform directory. I suppose, Buckminster
does not consider the Import-Package-statements in the manifest. Is this
correct or am I doing something wrong here?

Cheers,

Thorsten
Re: Resolver should consider imported packages [message #646086 is a reply to message #646057] Tue, 21 December 2010 23:45 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2010-12-21 19:09, Thorsten Meinl wrote:
> ... I suppose, Buckminster
> does not consider the Import-Package-statements in the manifest. Is this
> correct or am I doing something wrong here?
>
Your assumption is correct. Buckminster cannot use package imports. The
resolver is all about finding components. It cannot use something that
is hidden inside a component.

You have two options. Either you create a top-level feature that
requires the bundles that contains the packages or you have a
buckminster project (a plain project with a buckminster.cspec file in
it) that express the needed dependencies.

Regards,
Thomas Hallgren
Previous Topic:Cannot correctly install or use full headless buckminster
Next Topic:Headless build site.p2: problems
Goto Forum:
  


Current Time: Thu Mar 28 13:36:54 GMT 2024

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

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

Back to the top