Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 alternative for custom install handlers
P2 alternative for custom install handlers [message #644716] Mon, 13 December 2010 21:53
Prashant Deva is currently offline Prashant Deva
Messages: 32
Registered: July 2009
Member
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 -
http://wiki.eclipse.org/Equinox_p2_Touchpoint_Instructions
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.

Previous Topic:Eclipse(Helios) launched Swing based IApplication deadlocks on OS X
Next Topic:p2.remove.iu keep only XX revisions
Goto Forum:
  


Current Time: Thu Oct 30 13:07:10 GMT 2014

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

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