Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » How to get correct version jre number generated in eclipse.ini
How to get correct version jre number generated in eclipse.ini [message #1805302] Thu, 11 April 2019 11:59 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 193
Registered: June 2010
Senior Member

I'm trying to build an eclipse product using mvn. I followed the instructions mentioned here to get the jvm included as a feature inside the product.

Unfortunately, the resulting product contains qualifiers in the version number of enclused features. I don't know how to instruct p2 to use that version number when setting the jvm option in the eclipse.ini.

I'm trying a p2.inf like:


Using 'mvn clean package' results in building a product in an eclipse.ini (found in .\jrebug.git\products\walb.hello.product\target\products\walb\win32\win32\x86_64\eclipse.ini) that looks like:

You see, it misses the version number; something like: walb.hello.jre_1.0.0.201904111153

How can I make sure that it refers to the generated version number?

Re: How to get correct version jre number generated in eclipse.ini [message #1811186 is a reply to message #1805302] Wed, 28 August 2019 10:23 Go to previous message
Wolfgang Geck is currently offline Wolfgang GeckFriend
Messages: 9
Registered: June 2018
Junior Member
I stumbled upon the same problem 9 years later:) The only solution I figured out so far is modifying the p2.inf file itself by means of a Maven plugin:

Previous Topic:Problems with P2 garbage collector
Next Topic:Eclipse can't load all bundles after upgraded to eclipse 4.10
Goto Forum:

Current Time: Mon May 25 03:10:02 GMT 2020

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

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

Back to the top