Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » update site install handler
update site install handler [message #52540] Sun, 29 March 2009 16:25 Go to next message
Eclipse UserFriend
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 10:53 Go to previous messageGo to next message
Eclipse UserFriend
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 11:43 Go to previous message
Eclipse UserFriend
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 10:53 Go to previous message
Eclipse UserFriend
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 11:43 Go to previous message
Eclipse UserFriend
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 May 08 10:25:13 EDT 2025

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

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

Back to the top