[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Updating a RCP through an Eclipse application

For the simple case, if you want to reuse update manager and features, then the server can simply make the new plugins it got from the internet available on a local update site. Then, when the client starts it checks the availability of the new features, and install what it is necessary and run. Note that installing a new feature does not delete the old one (this is important).

For the second case, similarly to the previous case, your app could check the versions available on the server. In case the server has an old version, then you need to configure the appropriate version and deconfigure inappropriate ones.

All those operations can be implemented using the udpate.core APIs.

HTH,

PaScaL

Joseph George wrote:
HI,
Consider the following scenario:

I have a server running as a headless Eclipse application. There can be multiple instances of this server on the network. I also have multiple RCP clients that connect to these servers. The server is updated through an update site on the internet. During a server update, it downloads newer versions of server and client plugins.

Is it possible for the clients to download the newer version of client plugins from the server itself?

The scenario gets more complicated:
Suppose i have two servers: SERVER-A and SERVER-B. SERVER-A has been updated and consists of updated plugins. A client first connects to SERVER-A, notices it contains updated versions of plugins and also new plugins and downloads them. After that session gets over, the same client connects to SERVER-B. Now we have a problemo: can the client revert back to its previous plugin state?


The goal is to have the set of plugins on the server and the client exactly the same. If they are different the client either uses older versions of the plugin or downloads newer/missing plugins.

Best regards,
Joseph.