|Clean Equinox' cache after uninstallation of bundles [message #1053033]
||Thu, 02 May 2013 07:14
| Charles Bonneau
Registered: February 2010
I have a Bundle that changes the starting order of other bundles (like org.eclipse.jdt.ui). The problem is that when the user uninstalls my bundle, at restart, Equinox tries to resume the state of the other bundles, and the startup of Eclipse fails, because my bundle is not here to handle the early startup of remaining bundles (like org.eclipse.jdt.ui).
Obviously, this problem is solved by starting Eclipse with the "-clean" argument.
But, according to the users, I should not force them to use "-clean", I should "give back Eclipse in the state I found it when I installed my bundles".
So I need to catch the uninstallation process of my bundles and trigger programmatically the cleanup of Equinox' cache.
How could I do it ?
I though I could use the P2 touchpoints, but so far I didn't manage to make it work.
Any idea ?
Powered by FUDForum
. Page generated in 0.02179 seconds