Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » include jre in product
include jre in product [message #511085] Fri, 29 January 2010 17:48 Go to next message
Simon Bernard is currently offline Simon BernardFriend
Messages: 345
Registered: July 2009
Senior Member
I use buckminster to build my product (RCP).
And I want to include a JRE in the product.

*configuration
*features
*[jre]
*p2
*plugins
-artifact.xml
-MyProduct.exe
-MyProduct.ini

How could I do that ?
Which are the best practise ?
Re: include jre in product [message #660708 is a reply to message #511085] Mon, 21 March 2011 10:15 Go to previous messageGo to next message
David Gonzalez is currently offline David GonzalezFriend
Messages: 24
Registered: January 2011
Junior Member
Is there a way to solve this issue? Building my RCP product works fine, but how can I include a JRE?
Re: include jre in product [message #660712 is a reply to message #660708] Mon, 21 March 2011 10:47 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 2011-03-21 11:15, Gonzo wrote:
> Is there a way to solve this issue? Building my RCP product works fine, but how can I include a JRE?

You should be able to use the feature root objects for this.

- thomas
Re: include jre in product [message #660735 is a reply to message #660712] Mon, 21 March 2011 12:34 Go to previous message
David Gonzalez is currently offline David GonzalezFriend
Messages: 24
Registered: January 2011
Junior Member
Thanks for that issue!

For others searching a solution, here is what you have to do.

Add those line(s) to your build.properties in the feature you want to build:

root.win32.win32.x86=absolute:/path/to/java/arch/x86/os/win3 2/ws/win32
root.win32.win32.x86_64=absolute:/path/to/java/arch/x86_64/o s/win32/ws/win32

Works for other arch/os just as well.
Previous Topic:Plain "build" command fails on Hudson/Jenkins with buckminster-headless 3.6.2 release
Next Topic:Buckminster BoF 7:30 tonight EclipseCon
Goto Forum:
  


Current Time: Thu Sep 26 10:45:52 GMT 2024

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

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

Back to the top