Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Unresolved bundles when using Buckminster for plugin and/or RCP
Unresolved bundles when using Buckminster for plugin and/or RCP [message #837590] Thu, 05 April 2012 17:45 Go to next message
Lubos Pochman is currently offline Lubos Pochman
Messages: 29
Registered: July 2009
Junior Member
Hi all,

I have Eclipse plugin and RCP (both build using feture.xml or .product file from Eclipse IDE).

I would like to use Buckminster to automate the build, so I installed Buckminster plugin into Eclipse IDE.

But now I when I try to generate site.p2 (using Invoke Action) or display Open Dependency Graph, I get following bundles unresolved:

org.eclipse.osgi
org.eclipse.swt

I have swt.jar in lib directory of my plugin and swt.jar is added to MANIFEST.MF: Bundle-ClassPath: lib/swt.jar.

Both those bundles are in my active target platform.

This is my first attempt to use Buckminster, and it looks like I am missing something quite obvious, but I cannot the resolution in FAQ or in Google.

Thanks for any help. Lubos Pochman
Re: Unresolved bundles when using Buckminster for plugin and/or RCP [message #837685 is a reply to message #837590] Thu, 05 April 2012 20:57 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
Buckminster builds the content of a p2 site from a feature design for
this purpose and this feature is in itself not included in the site (by
default). The content of the site is the full graph of everything that
it included in the site feature, and the full graph of dependencies.

If something is references via "imported packages" you must define what
it is you like to use as a provider of those packages. The common place
to do this is in a feature such as the site feature (but it may be done
is some other feature if that makes more sense and you don't want to
have any hard bindings).

You can see the configuration of cloudsmith/geppetto @ github where we
build an RCP application (geppetto) for different platforms using
Buckminster.

Have you found the buckminster book ? (250 pages or so in PDF that you
can get from the Buckminster download page).

Regarding your jars - since everything is OSGi, why are you dealing with
these at the jar level? Just add the appropriate dependencies...

- henrik

On 2012-05-04 23:45, Lubos Pochman wrote:
> Hi all,
>
> I have Eclipse plugin and RCP (both build using feture.xml or .product
> file from Eclipse IDE).
>
> I would like to use Buckminster to automate the build, so I installed
> Buckminster plugin into Eclipse IDE.
>
> But now I when I try to generate site.p2 (using Invoke Action) or
> display Open Dependency Graph, I get following bundles unresolved:
>
> org.eclipse.osgi
> org.eclipse.swt
>
> I have swt.jar in lib directory of my plugin and swt.jar is added to
> MANIFEST.MF: Bundle-ClassPath: lib/swt.jar.
>
> Both those bundles are in my active target platform.
>
> This is my first attempt to use Buckminster, and it looks like I am
> missing something quite obvious, but I cannot the resolution in FAQ or
> in Google.
>
> Thanks for any help. Lubos Pochman
>
Previous Topic:SVN with Remote Host
Next Topic:How to debug Buckminster build?
Goto Forum:
  


Current Time: Fri Aug 29 08:23:52 EDT 2014

Powered by FUDForum. Page generated in 0.02113 seconds