Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Using Equinox P2 - Cleanup feature
Using Equinox P2 - Cleanup feature [message #716772] Thu, 18 August 2011 12:24 Go to next message
Jose Renato is currently offline Jose RenatoFriend
Messages: 12
Registered: February 2011
Junior Member
Hi,

I'm trying to implement some kind of cleanup feature, that removes old features after the installation of a newer version.

The idea is to keep only the 5 last versions of the features (on this case, the 5 last versions of the main feature, that has all the plugins and features).

Is this feature already implemented on P2?
Re: Using Equinox P2 - Cleanup feature [message #716906 is a reply to message #716772] Thu, 18 August 2011 18:19 Go to previous message
Jose Renato is currently offline Jose RenatoFriend
Messages: 12
Registered: February 2011
Junior Member
Searching, I've found this:

ht tp://www.myeclipsede v.com/articles/p2cleanup.htm

Then, I understood that, the P2 mechanism already takes care of deleting the older plugins, but, on a update, the current plugin (that must be deleted after the installation) is still running, then, the cleanup mechanism could not perform the operation.

With the code suggested above, the unused plugins will be deleted at next program initialization.

With that, I understood that the "restore to previous configuration" DON'T uses the plugin files that are on the client's hard-drive, but, it uses the repository files.
Previous Topic:[resolved] Using Equinox P2 - Getting information about installed features and plugins
Next Topic:Custom Text Editor with UI designer
Goto Forum:
  


Current Time: Fri Apr 19 23:02:15 GMT 2024

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

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

Back to the top