Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » update site install handler
update site install handler [message #52540] Sun, 29 March 2009 20:25 Go to next message
Janak is currently offline Janak
Messages: 4
Registered: July 2009
Junior Member
Hello,

I had a working install handler for my feature for Eclipse 3.2.

When I use the same install handler to install my feature in Eclipse 3.4
it gives a message saying that old install handler mechanism is not
supported and gives the option to start old install handler mechanism.
This way I have to enter the update site url twice.

Can someone please tell me how I should write a install handler for
Eclipse 3.4. Please point me to the relevant reference doc.

Thanks

Janak
Re: update site install handler [message #52567 is a reply to message #52540] Mon, 30 March 2009 14:53 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse-news.rizzoweb.com

On 3/29/2009 4:25 PM, Janak wrote:
> Hello,
>
> I had a working install handler for my feature for Eclipse 3.2.
>
> When I use the same install handler to install my feature in Eclipse 3.4
> it gives a message saying that old install handler mechanism is not
> supported and gives the option to start old install handler mechanism.
> This way I have to enter the update site url twice.
>
> Can someone please tell me how I should write a install handler for
> Eclipse 3.4. Please point me to the relevant reference doc.

p2, the new provisioning and installation framework that was introduced
in Eclipse 3.4, does not support install handlers.
This Google search will give you some useful links:
http://www.google.com/search?q=p2+install+handler

Hope this helps,
Eric
Re: update site install handler [message #52594 is a reply to message #52567] Mon, 30 March 2009 15:43 Go to previous message
Chris Aniszczyk is currently offline Chris Aniszczyk
Messages: 674
Registered: July 2009
Senior Member
Eric Rizzo wrote:
> p2, the new provisioning and installation framework that was introduced
> in Eclipse 3.4, does not support install handlers.

While this is true, p2 doesn't support the old concept of
installhandlers but has a concept of a p2.inf file and touchpoint
actions which could help you:

http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instruc tions

This should allow you to do common things that were done in installer
handlers previously... like chmod, copying files etc...

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Re: update site install handler [message #594185 is a reply to message #52540] Mon, 30 March 2009 14:53 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2260
Registered: July 2009
Senior Member
On 3/29/2009 4:25 PM, Janak wrote:
> Hello,
>
> I had a working install handler for my feature for Eclipse 3.2.
>
> When I use the same install handler to install my feature in Eclipse 3.4
> it gives a message saying that old install handler mechanism is not
> supported and gives the option to start old install handler mechanism.
> This way I have to enter the update site url twice.
>
> Can someone please tell me how I should write a install handler for
> Eclipse 3.4. Please point me to the relevant reference doc.

p2, the new provisioning and installation framework that was introduced
in Eclipse 3.4, does not support install handlers.
This Google search will give you some useful links:
http://www.google.com/search?q=p2+install+handler

Hope this helps,
Eric
Re: update site install handler [message #594196 is a reply to message #52567] Mon, 30 March 2009 15:43 Go to previous message
Chris Aniszczyk is currently offline Chris Aniszczyk
Messages: 674
Registered: July 2009
Senior Member
Eric Rizzo wrote:
> p2, the new provisioning and installation framework that was introduced
> in Eclipse 3.4, does not support install handlers.

While this is true, p2 doesn't support the old concept of
installhandlers but has a concept of a p2.inf file and touchpoint
actions which could help you:

http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instruc tions

This should allow you to do common things that were done in installer
handlers previously... like chmod, copying files etc...

Cheers,

Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
Previous Topic:update site install handler
Next Topic:Validate plug-in configuration without generating launcher
Goto Forum:
  


Current Time: Thu Oct 02 10:32:14 GMT 2014

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

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