Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Using P2 to specify platform specific JVM paths(Using p2.ini to generate information)
Using P2 to specify platform specific JVM paths [message #696340] Wed, 13 July 2011 18:24 Go to next message
Tod Creasey is currently offline Tod CreaseyFriend
Messages: 59
Registered: July 2009
Member
I am trying to generate a different ini file depending on if the user is on 32 or 64 bit windows. Using the p2.inf below in the same directory as my .product file I am getting no .ini files when I export using the product export wizard.

There are no errors in my log so I am not sure where to start

requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=toolingcom.ibm.product.configuration.win32.x86_64
requires.1.filter=(&(osgi.os=win32) (osgi.arch=x86_64))
requires.1.range=[1.0.0,1.0.0]
requires.1.greedy=true

requires.2.namespace=org.eclipse.equinox.p2.iu
requires.2.name=toolingcom.ibm.product.configuration.win32.x86
requires.2.filter=(&(osgi.os=win32) (osgi.arch=x86))
requires.2.range=[1.0.0,1.0.0]
requires.2.greedy=true

units.1.id=toolingcom.ibm.product.configuration.win32.x86_64
units.1.version=1.0.0
units.1.provides.1.namespace=org.eclipse.equinox.p2.iu
units.1.provides.1.name=toolingcom.ibm.product.configuration.win32.x86_64
units.1.provides.1.version=1.0.0
units.1.filter=(&(osgi.os=win32) (osgi.arch=x86_64))
units.1.touchpoint.id=org.eclipse.equinox.p2.osgi
units.1.touchpoint.version=1.0.0
units.1.instructions.configure=setJvm(jvm:..\..\..\bin64\jre\6.0\bin);
units.1.instructions.unconfigure=setJvm(jvm:null);

units.2.id=toolingcom.ibm.product.configuration.win32.x86
units.2.version=1.0.0
units.2.provides.1.namespace=org.eclipse.equinox.p2.iu
units.2.provides.1.name=toolingcom.ibm.product.configuration.win32.x86
units.2.provides.1.version=1.0.0
units.2.filter=(&(osgi.os=win32) (osgi.arch=x86))
units.2.touchpoint.id=org.eclipse.equinox.p2.osgi
units.2.touchpoint.version=1.0.0
units.2.instructions.configure=setJvm(jvm:..\..\..\bin\jre\6.0\bin);
units.2.instructions.unconfigure=setJvm(jvm:null);
Re: Using P2 to specify platform specific JVM paths [message #698913 is a reply to message #696340] Wed, 20 July 2011 13:10 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Did you ever find out what the problem was with your missing .ini file?

PW




Previous Topic:automatic installation in RCP
Next Topic:How can I download all the dependencies with p2
Goto Forum:
  


Current Time: Sat Dec 14 13:35:16 GMT 2024

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

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

Back to the top