Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Can I do the Automatic Discovery & Update with Equinox p2?

Hi, Susan,
 
Thank you so much for your reply, and the comprehensive explanation in this and the other email. Our scenario is as below:
 
Say that we have two different RCP applications for our clients. The same group of clients. We plan to develop more RCP apps. What we wish to have, is an app that discovers new apps on a known server, as well as updates for installed apps. At least clients can choose to turn on automatic update. The idea is to minimize their efforts since they as general consumers would complain about any computer geek concepts or options. One-click-to-run is most ideal with new apps and updates, though clearly we all know it is too hard to be possible with everything. At least we can try to approach to the goal.
 
With the comprehensive information from you, I think that currently I need further investigation into the tech. At least I think there is a workaround. We could bundle two RCP applications together, and add future products into it as plug-ins. I assume that would be possible. Again, thanks so much for the information! Have a great weekend! :-)
 
Best Regards,
Frank

On Wed, Nov 5, 2008 at 8:14 PM, Susan Franklin McCourt <susan_franklin@xxxxxxxxxx> wrote:

I agree with everything Scott says about dynamic network discovery.

On the other hand, if you are talking about "discovering" updates from a known server, this is possible today with p2.
It involves including the p2 bundles in your RCP app, defining in advance what the update server is, and then setting an auto-updates preference so that the updates are presented to the user whenever they are found.

If you are talking about finding updates from a known server, and installing them without bothering the user at all...we don't do that now in the SDK since that almost always involves a restart and the user needs to decide when it happens. But it is possible today with the API, it would just take some custom code to find the updates and directly perform the install without going through the wizard.

So I guess the question...what is the specific scenario?

susan
Inactive hide details for Scott Lewis <slewis@xxxxxxxxx>Scott Lewis <slewis@xxxxxxxxx>






To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc: Markus Alexander Kuppe <markus.kuppe@xxxxxxxxxxx>
Subject: Re: [p2-dev] Can I do the Automatic Discovery & Update with Equinox p2?


Hi Frank,

There is an enhancement request to add ECF's discovery API (and some
discovery provider implementation) to network discover p2 repositories
in the Eclipse ui:  
https://bugs.eclipse.org/bugs/show_bug.cgi?id=218534

In recent interactions with Susan (leading the p2 UI effort), it seems
likely that this capability will be inserted in 3.5 M5 timeframe.

Here is ECF's discovery API documentation:  
http://wiki.eclipse.org/ECF_API_Docs

I (Scott) have also created a couple of example apps that use discovery
API to publish and then discover available services.  I've also worked
on one for p2 discovery and then p2-based remote install scenarios for
Code9.

So I guess the upshot is:  p2 will soon do this (network-based discovery
at least)...but network discovery is not present as of 3.4.X stream.

Scott



Qixing Du wrote:
> Hey! After going through a lot of p2 marketing, I am still not clear
> if we can have the Automatic Discovery & Update of RCP application
> with p2.
>
> Could someone please show me some clues if we can do it? Any hint is
> highly appreciated!
>
> Thanks so much!
> Frank
> ------------------------------------------------------------------------
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/p2-dev
>  

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
Best Regards,
Frank Du

GIF image

GIF image


Back to the top