|P2 alternative for custom install handlers [message #644716]
||Mon, 13 December 2010 21:53
| Prashant Deva
Registered: July 2009
Before p2, one could write a custom install handler with a feature that was executed to do any 'custom' task during installation.|
What is the equivalent in p2 get the functionality of custom install handlers?
I see a limited set of instructions here -
but they are not enough for what we want to do.
How do we execute custom java code during installation?
We need to edit the eclipse.ini file and set the -Xmx property to a value based on whether we are running inside a 64 bit or 32 bit env.
I tried creating a p2.inf file in my feature with the following line
instructions.configure = addJVMArg(jvmArg:-Xmx900m);
but the eclipse.ini still has the old -Xmx argument.
Powered by FUDForum
. Page generated in 0.01617 seconds