p2:contributing -vm argument to launcher INI file [message #525583] |
Wed, 07 April 2010 01:48 |
Alex Smirnoff Messages: 28 Registered: July 2009 |
Junior Member |
|
|
I have requirement to set explicitly -vm option with p2 build. I have next p2.inf collocated with .product file:
instructions.configure = \
addProgramArg(programArg:-vm);\
addProgramArg(programArg:jre/bin/javaw.exe);
instructions.unconfigure= \
removeProgramArg(programArg:-vm);\
removeProgramArg(programArg:jre/bin/javaw.exe);
Everything works fine, however, after the build finishes, the option is located in the wrong place:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-vmargs
-vm
jre/bin/javaw.exe
-Xms32m
-Xmx1024m
-XX:PermSize=64M
-XX:MaxPermSize=256M
which causes the product not to start. The only way it starts is if -vm is moved above -vmargs option (that is obvious). So the question is: how can I make it appear on the first line. Now it seems to "append" to the program options.
Thanks,
Alex.
[Updated on: Wed, 07 April 2010 21:30] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04312 seconds