Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Buckminster not picking up target platform?
Buckminster not picking up target platform? [message #652449] Thu, 03 February 2011 23:43 Go to next message
Josh Hester is currently offline Josh HesterFriend
Messages: 30
Registered: July 2009
Member
So I'm trying to use buckminster to build our osgi bundles. The p2.site target works fine and I'm able to build all of my bundles.

The problem comes when I try to install the product. Buckminster starts telling me it can't find bundles that are included in my target platform. What do I need to do to get Buckminster to look at the target platform? Is there some non documented magic here?

I'm under the impression that I just need to include my bundles in a feature and that 3rd party bundles only need to be in my target platform, is this correct?
Re: Buckminster not picking up target platform? [message #652452 is a reply to message #652449] Thu, 03 February 2011 23:56 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
When building a product you must make sure that everything that is
required is available by the director (so it can be included in the
product it is "installing for the purpose of zipping it up"). The fact
that you have them in your TP does not make them availabl to the
director, or included in your product.

As contrast, if you run your bundles installed in the IDE, the "TP"
stuff is expected to be installed in your IDE.

You can either include all required bundles directly in your product
feature (or some other feature included in the product feature, if you
want to separate them), or modify how the directory creates the product.

If you do not want to include them in your feature, the call to the
directory must be altered to include additional p2 sites (that do have
the required things). This way, your p2 site will not include them, and
people updating your product that wants to update the bundles "in your
tp" need to also have a reference to the p2 update site that has them.

I hope that makes it clearer.

Regards
- henrik

On 2/4/11 12:43 AM, Josh Hester wrote:
> So I'm trying to use buckminster to build our osgi bundles. The p2.site
> target works fine and I'm able to build all of my bundles.
>
> The problem comes when I try to install the product. Buckminster starts
> telling me it can't find bundles that are included in my target
> platform. What do I need to do to get Buckminster to look at the target
> platform? Is there some non documented magic here?
>
> I'm under the impression that I just need to include my bundles in a
> feature and that 3rd party bundles only need to be in my target
> platform, is this correct?
Re: Buckminster not picking up target platform? [message #652458 is a reply to message #652452] Fri, 04 February 2011 02:11 Go to previous messageGo to next message
Josh Hester is currently offline Josh HesterFriend
Messages: 30
Registered: July 2009
Member
Thanks a lot, that does help!

Now I've tried adding the plugins to the feature I'm trying to build, but it seems like buckminster keeps failing to find more and more plugins, until I'm adding almost all of the plugins in my eclipse directory. They are things I'm pretty sure my application should not require, like ui components. Does this sound right? I'm not starting these bundles when I run my bundles within eclipse.
Re: Buckminster not picking up target platform? [message #652472 is a reply to message #652458] Fri, 04 February 2011 06:49 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2011-02-04 03:11, Josh Hester wrote:
> Thanks a lot, that does help!
>
> Now I've tried adding the plugins to the feature I'm trying to build, but it seems like buckminster keeps failing to
> find more and more plugins, until I'm adding almost all of the plugins in my eclipse directory. They are things I'm
> pretty sure my application should not require, like ui components. Does this sound right?

No, that doesn't sound right. Buckminster will not introduce new requirements.


> I'm not starting these bundles when I run my bundles within eclipse.

Did you try clicking "Validate Bundles" in the "Debug Configurations" wizard? It's sometimes very revealing.

HTH,
Thomas Hallgren
Previous Topic:NullPointerException in GenericSession
Next Topic:Fragment is unable to resolve a class in host
Goto Forum:
  


Current Time: Fri Apr 19 15:20:13 GMT 2024

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

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

Back to the top