Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » how to remove plugin file after a succesful p2 update
how to remove plugin file after a succesful p2 update [message #493885] Wed, 28 October 2009 11:16 Go to next message
Yann  is currently offline Yann Friend
Messages: 3
Registered: October 2009
Junior Member
Hello,

I have a RCP application (based on 3.5) that use the "Headless Updating on Startup" as described in http://wiki.eclipse.org/Equinox/p2/Adding_Self-Update_to_an_ RCP_Application#Headless_Updating_on_Startup

Everything works, but after a succesful update I would like to remove the old plugins files (located in the plugins directory of my RCP installation).
Do you know how to acheive this ? what can I change in the P2Util class?

Thanks
Yann.
Re: how to remove plugin file after a succesful p2 update [message #506521 is a reply to message #493885] Thu, 07 January 2010 20:48 Go to previous messageGo to next message
nauman khalil is currently offline nauman khalilFriend
Messages: 5
Registered: January 2010
Junior Member
Ignore this post. Please look at the next one.

[Updated on: Thu, 07 January 2010 21:04]

Report message to a moderator

Re: how to remove plugin file after a succesful p2 update [message #506528 is a reply to message #493885] Thu, 07 January 2010 21:03 Go to previous message
nauman khalil is currently offline nauman khalilFriend
Messages: 5
Registered: January 2010
Junior Member
Hi Yann,

The easiest way which every one probably knows is through P2 UI.

But if you want to do programatically before lauching app in P2Util,

the P2 Api lets you go through all the installable units,

if you find more than one IU with same name, match version number and uninstall all IU's with less version numbers.
Previous Topic:Problem with eclipse.ini and plugins installation
Next Topic:P2 RCP Update
Goto Forum:
  


Current Time: Fri Apr 19 12:29:08 GMT 2024

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

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

Back to the top