Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » When will P2 support install handlers?
When will P2 support install handlers? [message #330095] Mon, 14 July 2008 19:26 Go to next message
Farokh Morshed is currently offline Farokh MorshedFriend
Messages: 53
Registered: July 2009
Member
I asked this question in the equinox-dev news group but got no answers...

I have been reading about P2 and its lack of support for update manager
style install handlers, and the touchpoint technology in various places.

Our plugin installation uses an install handler for various reasons.

From reading the Touchpoint instructions at your wiki, it looks like the
p2 in 3.4 is not able to execute code in an install handler like the
update manager.

Question: Will P2 be able to do that in some version? When?

I ask because if P2 is not going to support UM style install handlers
anytime soon, then we need to find a way to not use an install handler.
Having said that, UM style install handlers are very useful and the most
general way to support things a plugin wants to do when it is installed.

Regards,

Farokh Morshed
Re: When will P2 support install handlers? [message #330096 is a reply to message #330095] Mon, 14 July 2008 20:30 Go to previous messageGo to next message
Mark Melvin is currently offline Mark MelvinFriend
Messages: 118
Registered: July 2009
Senior Member
Hi Farokh,

I cannot speak for the P2 developers, but the impression I got when
researching this recently (we also use install handlers quite heavily and
cannot move to P2 without porting to touchpoints) is that P2 will never
support them. I think I read something about install handlers being too
tied to the old Update Manager to ever be fully supported. I am digging
through bug reports and wiki pages trying to find it again, but coming up
empty. Maybe a P2 person can chime in.

Mark.

On Mon, 14 Jul 2008 15:26:20 -0400, Farokh Morshed <fmorshed@curl.com>
wrote:

> I asked this question in the equinox-dev news group but got no answers...
>
> I have been reading about P2 and its lack of support for update manager
> style install handlers, and the touchpoint technology in various places.
> Our plugin installation uses an install handler for various reasons.
>
> From reading the Touchpoint instructions at your wiki, it looks like the
> p2 in 3.4 is not able to execute code in an install handler like the
> update manager.
>
> Question: Will P2 be able to do that in some version? When?
>
> I ask because if P2 is not going to support UM style install handlers
> anytime soon, then we need to find a way to not use an install handler.
> Having said that, UM style install handlers are very useful and the most
> general way to support things a plugin wants to do when it is installed.
>
> Regards,
>
> Farokh Morshed
>
Re: When will P2 support install handlers? [message #330098 is a reply to message #330096] Mon, 14 July 2008 21:53 Go to previous messageGo to next message
Farokh Morshed is currently offline Farokh MorshedFriend
Messages: 53
Registered: July 2009
Member
There is this:

http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg04448.ht ml

Doesn't this say that Eclipse 3.5 will support install handlers? It is a
little hard to parse the last sentence.

farokh
Re: When will P2 support install handlers? [message #330115 is a reply to message #330098] Tue, 15 July 2008 16:10 Go to previous message
Mark Melvin is currently offline Mark MelvinFriend
Messages: 118
Registered: July 2009
Senior Member
Thanks - that's the bit that I remember reading (a reply to a post made by
a co-worker of mine ;O).

When I read that, I take it to mean due to the fact that P2 cannot
reproduce the same state that Update Manager achieves, install handlers
will never be supported. I read the rest of it as for 3.4, install
handlers are only supported by falling back to Update Manager (in GUI-mode
only, BTW - headless mode just does nothing) - and in Eclipse 3.5 everyone
should have migrated to touchpoints.

Mark.

On Mon, 14 Jul 2008 17:53:37 -0400, Farokh Morshed <fmorshed@curl.com>
wrote:

> There is this:
> http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg04448.ht ml Doesn't
> this say that Eclipse 3.5 will support install handlers? It is a little
> hard to parse the last sentence.
>
> farokh
>
Previous Topic:Error querying the registry... source?
Next Topic:Why is the Debug view named so?
Goto Forum:
  


Current Time: Wed Jul 17 10:17:56 GMT 2024

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

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

Back to the top