[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] flush internal data API ?
|
Hi Martin,
The update dialog has a link "Show available update sides" or something similar. Here you find a button which can reload a update side. IIRC it is called "Reload".
I suggest to use plugin spy to see how the button does this.
Let me know if you find the method call.
Best regards, Lars
Am 20.11.2015 3:44 nachm. schrieb "Martin Lippert" <
mlippert@xxxxxxxxx>:
Hey!
I have a question:
Sometimes people report that they get an error while trying to update features. The error says something along the lines:
- no repository found containing XYZ
(even though the repository contains the mentioned artifacts).
As a solution I usually tell people to remove the update site from the list of available update sites, restart Eclipse, add the update back. That solves the issue, so I guess there is some stale or corrupt internal data about the repository.
My question:
Is there p2 API that I could use to build a simple button that wipes out that cached data?
That would make it a lot easier for our users to deal with that situation.
Since I am not a p2 expert, this might be a stupid question, but I hope to find some help here⦠:-)
Thanks a lot!!!
Cheers,
-Martin
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev