I'm looking at using P2 to install/update Eclipse and a handful of plug-ins. Some of those plug-ins require the eclipse.ini file to be updated with -vm and -vmargs options. What's the best approach to update the ini file using P2?
You want touchpoint instructions, the "addProgramArg" and "addJvmArg" add arguments to the eclipse.ini file. (You may also want removeProgramArg and removeJvmArg in the unconfigure or uninstall phase to remove the options when your plugin gets uninstalled or upgraded)