Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Headless build site.p2: problems
icon5.gif  Headless build site.p2: problems [message #643929] Wed, 08 December 2010 17:43 Go to next message
--alex--  is currently offline --alex-- Friend
Messages: 26
Registered: October 2009
Junior Member
Dear all,
I followed the tutorial in BuckyBook and I was able to successfully create an update site of my plugins.
The problem is when I try to do it headless, buckminster complains with the following message:
"No component named org.eclipse.ui.ide:osgi.bundle/3.5.1 is known to Buckminster"

My plugins are not an eclipse product, they depends on a specific version of other plugins I've commited from an svn repository and other plugins installed in eclipse.
I want to create a headless build using the plugins present on my workspace (therefore I don't think I need a RMAP to materialize a workspace).
To do this I've invoked buckminster using the following command:
"./buckminster -data <my_workspace> perform <my_updatesite_feature>#site.p2"

I think the problem is that the buckminster headless does not have installed the "org.eclipse.ui.ide" plugin. Since I didn't manage to install it from the eclipse project
update site (using the command "buckminster install...") I've copied all the plugins from my eclipse installation to the buckmisnter one.
The problem, of course, remains!

Do you have some advice on this please? Is my procedure correct or do I need to do more work to create a headless build?
Re: Headless build site.p2: problems [message #643947 is a reply to message #643929] Wed, 08 December 2010 19:06 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
By default, the target platform used when building is the target
platform for the runtime executing the build - in your case the headless
environment (where indeed there are no ui components installed).

You need to define a target platform to build against. This is good
practice when building using the IDE as well as it separates the
concerns of the environment used by the tooling and what you build
against. You can for instance build against older eclipse versions while
using the latest version of the IDE.

There are several ways to create and maintain target platform
definitions - from completely manual, using p2, and having buckminster
create the TP.

You will find many post on this subject in this forum esp. related to
people building headlessly with Hudson where they separate the creation
of the TP from the builds.

Hope that helps as a starting point.
Regards
- henrik

On 12/8/10 6:43 PM, --alex-- wrote:
> Dear all,
> I followed the tutorial in BuckyBook and I was able to successfully
> create an update site of my plugins.
> The problem is when I try to do it headless, buckminster complains with
> the following message:
> "No component named org.eclipse.ui.ide:osgi.bundle/3.5.1 is known to
> Buckminster"
>
> My plugins are not an eclipse product, they depends on a specific
> version of other plugins I've commited from an svn repository and other
> plugins installed in eclipse.
> I want to create a headless build using the plugins present on my
> workspace (therefore I don't think I need a RMAP to materialize a
> workspace).
> To do this I've invoked buckminster using the following command:
> "./buckminster -data <my_workspace> perform
> <my_updatesite_feature>#site.p2"
>
> I think the problem is that the buckminster headless does not have
> installed the "org.eclipse.ui.ide" plugin. Since I didn't manage to
> install it from the eclipse project
> update site (using the command "buckminster install...") I've copied all
> the plugins from my eclipse installation to the buckmisnter one.
> The problem, of course, remains!
>
> Do you have some advice on this please? Is my procedure correct or do I
> need to do more work to create a headless build?
Re: Headless build site.p2: problems [message #646299 is a reply to message #643947] Thu, 23 December 2010 09:10 Go to previous message
--alex--  is currently offline --alex-- Friend
Messages: 26
Registered: October 2009
Junior Member
I solved my problem by importing in buckminster a target platform which I've previously created.

Thanks a lot!

Henrik Lindberg wrote on Wed, 08 December 2010 14:06
By default, the target platform used when building is the target
platform for the runtime executing the build - in your case the headless
environment (where indeed there are no ui components installed).

You need to define a target platform to build against. This is good
practice when building using the IDE as well as it separates the
concerns of the environment used by the tooling and what you build
against. You can for instance build against older eclipse versions while
using the latest version of the IDE.

There are several ways to create and maintain target platform
definitions - from completely manual, using p2, and having buckminster
create the TP.

You will find many post on this subject in this forum esp. related to
people building headlessly with Hudson where they separate the creation
of the TP from the builds.

Hope that helps as a starting point.
Regards
- henrik

On 12/8/10 6:43 PM, --alex-- wrote:
> Dear all,
> I followed the tutorial in BuckyBook and I was able to successfully
> create an update site of my plugins.
> The problem is when I try to do it headless, buckminster complains with
> the following message:
> "No component named org.eclipse.ui.ide:osgi.bundle/3.5.1 is known to
> Buckminster"
>
> My plugins are not an eclipse product, they depends on a specific
> version of other plugins I've commited from an svn repository and other
> plugins installed in eclipse.
> I want to create a headless build using the plugins present on my
> workspace (therefore I don't think I need a RMAP to materialize a
> workspace).
> To do this I've invoked buckminster using the following command:
> "./buckminster -data <my_workspace> perform
> <my_updatesite_feature>#site.p2"
>
> I think the problem is that the buckminster headless does not have
> installed the "org.eclipse.ui.ide" plugin. Since I didn't manage to
> install it from the eclipse project
> update site (using the command "buckminster install...") I've copied all
> the plugins from my eclipse installation to the buckmisnter one.
> The problem, of course, remains!
>
> Do you have some advice on this please? Is my procedure correct or do I
> need to do more work to create a headless build?

Previous Topic:Resolver should consider imported packages
Next Topic:Editing an rmap containing a git provider corrupts the rmap XML
Goto Forum:
  


Current Time: Thu Apr 18 08:50:32 GMT 2024

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

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

Back to the top