Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » The way fragments are treated
The way fragments are treated [message #541974] Wed, 23 June 2010 12:29 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
I am using the Babel project in my RCP app.

The Babel project has features for each language. For example,
org.eclipse.babel.nls_eclipse_de is the feature for the German Babel
project.

Unfortunately (for me) this feature includes language translations (in the
form of a plugin fragment) for every plugin in Eclipse.

I have included this feature in my "external features" feature, and I am now
getting errors related to Buckminster not being able to find components in
the Eclipse repository:

E.g

ERROR [0000] : No suitable provider for component
org.eclipse.ltk.ui.refactoring.tests:osgi.bundle was found in searchPath
org.eclipse.platform
ERROR [0000] : Rejecting provider
p2( http://download.eclipse.org/releases/galileo?importType=bina ry): No
component match was found

I noticed two things from this:
*Most of the errors are related to plugin fragments for unit test plugins
(which I assume are not available from the download.eclipse.org repo.
*All of the errors are related to fragments

Questions:

Is Buckminster trying to pull down the host bundle?

And the big one:

Can I tell Buckminster to ignore fragments without an existing host?

Failing that, what is the best way to solve this?

Should I just create my own Babel feature including only the Babel features
that I need and that have host plugins at the download.eclipse.org repo?

Thanks again for the past excellent, quick help

Greg
Re: The way fragments are treated [message #541999 is a reply to message #541974] Wed, 23 June 2010 13:40 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 06/23/2010 02:29 PM, geejay wrote:
> Questions:
>
> Is Buckminster trying to pull down the host bundle?
>
That's likely yes, since the fragment has a requirement to its host.

> And the big one:
>
> Can I tell Buckminster to ignore fragments without an existing host?
>
You can tell Buckminster to completely skip some components (regardless of type) by adding an advisor node to the cquery
with a name pattern that matches the component(s) that you don't want and then check the 'Skip this component' in that node.

HTH,
- thomas
Previous Topic:Convert target platform to p2 update site
Next Topic:site.p2 for product configuration always creates and includes source feature
Goto Forum:
  


Current Time: Fri Jan 19 09:53:44 GMT 2018

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

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