Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Update application with P2
Update application with P2 [message #1743630] Sat, 17 September 2016 11:30 Go to next message
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 38
Registered: December 2011
Member
Hello,

I have added P2 functionality to my application for automatic update.
It works fine but I have 2 questions :
- Do I need to change plugins and/or feature versions to allow the update ?
- How to remove previous versions of my plugins (I read some articles with no final solution) ?

Thanks

Jean-Pascal
Re: Update application with P2 [message #1743742 is a reply to message #1743630] Mon, 19 September 2016 11:55 Go to previous messageGo to next message
ALex W is currently offline ALex WFriend
Messages: 56
Registered: July 2012
Member
Hello,

I'm also interested in the p2 cleaning. Did you try the P2 Garbage Collector as described here ? https://wiki.eclipse.org/Equinox/p2/FAQ#Why_aren.27t_bundles_being_removed_when_their_associated_feature_has_been_removed.3F
I never tried it, but that's something I will need to consider in my own application.

For question 1, I'm pretty sure changing a plugin is enough. Besides, I think the update check is also based on the timestamp of the build in the generated plugin/feature version number.
Re: Update application with P2 [message #1743831 is a reply to message #1743742] Tue, 20 September 2016 06:59 Go to previous message
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 38
Registered: December 2011
Member
Thanks.

I will try that it explains in the document.

Jean-Pascal
Previous Topic:RCP Application icons
Next Topic:PlaceHolder
Goto Forum:
  


Current Time: Sat Nov 25 09:48:04 GMT 2017

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

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