[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: incomplete automatic(silent) update in eclipse 3.4

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/msg05356.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