[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] flush internal data API ?

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