Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » incomplete automatic(silent) update in eclipse 3.4
incomplete automatic(silent) update in eclipse 3.4 [message #485798] Tue, 15 September 2009 06:26 Go to next message
Eclipse UserFriend
Originally posted by: none2love.paran.com

Hello,

Users of my plug-ins want very strict & enforcing update policy.
So, I implemented automatic (silent) update function to my plug-ins,
During eclipse start-up, it checks user-defined update URL stored in
preference, and if any update exists, force updating without any
confirmation. Then alert ‘reboot required’.

http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg05356.html
I used almost same mechanism referred at link above.

Anyway, It has worked very well in eclipse 3.3.

But in Ganymede(3.4),
it also try updating, and it seems that all updating process has finished
well.
But it do not finish updating completely.

The Symptom is…
- All feature & plug-in files for updating (.jar format) has been
successfully downloaded at proper location.
- But, after restarting, eclipse still launches with old version. (Nothing
has been changed!)
( I tried ‘–clean’ option, but it was in vain.)

I know there are another method using changed update mechanism (P2).
But, I heard that old update method is still valid in 3.4.
And most of all, I want to solve this problem under existing update method.

Do anyone know there are another necessary task to complete updating and
to register already-downloaded plug-ins to eclipse 3.4? Or is there any
suspected point?

Thanks.
Re: incomplete automatic(silent) update in eclipse 3.4 [message #486005 is a reply to message #485798] Tue, 15 September 2009 20:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: miloshm.poczta.onet.pl

bonobono wrote:

> Hello,

> Users of my plug-ins want very strict & enforcing update policy.
> So, I implemented automatic (silent) update function to my plug-ins,
> During eclipse start-up, it checks user-defined update URL stored in
> preference, and if any update exists, force updating without any
> confirmation. Then alert �reboot required�.

> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg05356.html
> I used almost same mechanism referred at link above.

> Anyway, It has worked very well in eclipse 3.3.

> But in Ganymede(3.4),
> it also try updating, and it seems that all updating process has finished
> well.
> But it do not finish updating completely.

> The Symptom is�
> - All feature & plug-in files for updating (.jar format) has been
> successfully downloaded at proper location.
> - But, after restarting, eclipse still launches with old version. (Nothing
> has been changed!)
> ( I tried ��clean� option, but it was in vain.)

> I know there are another method using changed update mechanism (P2).
> But, I heard that old update method is still valid in 3.4.
> And most of all, I want to solve this problem under existing update method.

> Do anyone know there are another necessary task to complete updating and
> to register already-downloaded plug-ins to eclipse 3.4? Or is there any
> suspected point?

> Thanks.
Hi,

I have similar problem (but I used RCP 3.5). I suggest you to use new
Equinox P2 update mechanism. Old update manager will be removed in future
releases of Eclipse RCP.

If you don't want to use P2, check if your product is feature-based (old
Update Manager does not support plugin-based products, but P2 - yes).

Equinox P2, helpful link:

http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application

best regards
Mi³osz
Re: incomplete automatic(silent) update in eclipse 3.4 [message #486308 is a reply to message #486005] Thu, 17 September 2009 08:44 Go to previous message
Eclipse UserFriend
Originally posted by: none2love.paran.com

thanks for reply.

- I don't(can't) want to use p2 mechanism for now.
- It's already feature-based and has worked well on 3.3

I wanna use same(old) update mechanism,
but only wan't to solve the problem :

as a result of self update,
it download all Feature & Plugins successfully,
but they do not be registered to eclipse,
so after restarting, eclipse launches with same(previous/not updated)
version.

I wanna know any additional job needed for 3.4,
or any suspected point which cause this incomplete updating result.
Previous Topic:duplicate menu item 'open file...'
Next Topic:compare float numbers with precision
Goto Forum:
  


Current Time: Wed Apr 24 15:08:11 GMT 2024

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

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

Back to the top