When will P2 support install handlers? [message #330095] |
Mon, 14 July 2008 15:26  |
Eclipse User |
|
|
|
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 16:30   |
Eclipse User |
|
|
|
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 #330115 is a reply to message #330098] |
Tue, 15 July 2008 12:10  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.07367 seconds