Before p2, one could write a custom install handler with a feature that was executed to do any 'custom' task during installation.
I see that with p2 the custom install handler is no longer supported. I keep hearing about 'custom touchpoints' being the replacement for that.
However I cant find any concrete example/documentation for it.
Can anyone tell me how to get the functionality of custom install handlers with the p2 update manager.
Edit: A description of what I want to do -
I 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.
Edit 2: I tried creating a p2.inf file in my feature with the following line -
instructions.install = \
addJvmArg(jvmArg:-Xmx900m);
instructions.install.import= \
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg,
and it works, however it does not differentiate between 32 and 64 bit.