Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [RCP] Automatic update on startup
[RCP] Automatic update on startup [message #185282] Tue, 27 January 2004 04:01 Go to next message
Eclipse UserFriend
Hi NG!

Is it possible to trigger an automatic update when starting an application
based on the Rich Client Platform?
And is it possible at all to perform an update of the application itself
from within the application or do I need to have another application or
plugin which triggers the update?
Re: [RCP] Automatic update on startup [message #185332 is a reply to message #185282] Tue, 27 January 2004 06:29 Go to previous messageGo to next message
Eclipse UserFriend
You could use Java Web Start.

Take a look at this article:

http://www-106.ibm.com/developerworks/opensource/library/os- jws/

Sebastian

--
Sebastian Davids (sdavids@gmx.de, davids_s@informatik.haw-hamburg.de)
ICQ: 1 16 44 89 80
PGP: EA57 0FA0 1C56 157E DD57 96EE 54B1 3E55 1F92 51DA
Re: [RCP] Automatic update on startup [message #185356 is a reply to message #185332] Tue, 27 January 2004 07:00 Go to previous messageGo to next message
Eclipse UserFriend
Well, I know Web Start, but what I want to update is not a standalone java
swt application, but a plugin executed as application (with the -application
XXX command line argument) which runs inside the Rich Client Platform of
Eclipse 3.0 M6.
I suppose when using Web Start you would have to download the whole platform
over the network each time anything changes only in the plugin.
I would prefer using the Eclipse integrated update mechanism to do this work
for me and I am looking for hints how to do this. Sorry if my first posting
didn't express that clearly enough.

"Sebastian Davids" <sdavids@gmx.de> schrieb im Newsbeitrag
news:bv5htp$pj5$1@eclipse.org...
> You could use Java Web Start.
>
> Take a look at this article:
>
> http://www-106.ibm.com/developerworks/opensource/library/os- jws/
>
> Sebastian
>
> --
> Sebastian Davids (sdavids@gmx.de, davids_s@informatik.haw-hamburg.de)
> ICQ: 1 16 44 89 80
> PGP: EA57 0FA0 1C56 157E DD57 96EE 54B1 3E55 1F92 51DA
Re: [RCP] Automatic update on startup [message #185363 is a reply to message #185282] Tue, 27 January 2004 07:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal_rapicault.yahoo.fr

If you don't want to use the install/update from eclipse, you can still use
the OSGi primitive which will update your bundle (BundleContext.install /
uninstall / update).
If you want to use install/update you should look if there is any API
available.

We are looking for volunteers to play with eclipse and java web start.

PaScaL

"Martin Klinke" <martin-klinke@gmx.de> a
Re: [RCP] Automatic update on startup [message #185729 is a reply to message #185282] Tue, 27 January 2004 15:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Martin Klinke" <martin-klinke@gmx.de> wrote in message
news:bv5a01$ff3$1@eclipse.org...
> Hi NG!
>
> Is it possible to trigger an automatic update when starting an application
> based on the Rich Client Platform?
> And is it possible at all to perform an update of the application itself
> from within the application or do I need to have another application or
> plugin which triggers the update?

Yes, as long as you have the org.eclipse.update.* plugins installed.
On the Update/Install > Automatic Updates preference page you can select
automatic updates at startup.
Eventually, we will expose the settings as a preference, so it can be
shipped to a customer preset this way.

-Dorian

>
>
Re: [RCP] Automatic update on startup [message #185814 is a reply to message #185356] Wed, 28 January 2004 00:50 Go to previous message
Eclipse UserFriend
>>you would have to download the whole platform over the network each
time anything changes
First time you have to download everything (read: the plugins required
for your RCP--not all platform plugins; unless you use all of them .)

After that, only the stuff changed will be downloaded -- so if only your
plugin changes there will be no new "huge" download.

I haven't tried it yet, but I will this weekend.

Sebastian

--
Sebastian Davids (sdavids@gmx.de, davids_s@informatik.haw-hamburg.de)
ICQ: 1 16 44 89 80
PGP: EA57 0FA0 1C56 157E DD57 96EE 54B1 3E55 1F92 51DA
Previous Topic:[ANN] CodePro v2.3.2 Release - 425+ Audit Rules & Metrics
Next Topic:Share Eclipse runtime nightly build instruction?
Goto Forum:
  


Current Time: Tue Oct 28 13:24:52 EDT 2025

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

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

Back to the top