Hey! > The API is the one on IMetadataRepositoryManager#refreshRepository and > IArtifactRepositoryManager#refreshRepository
Ah, great, thanks!!! > What could be interesting is to propose reload upon failure of the > installation. Indeed, good idea. Also thanks for the pointer to the “reload” button. Will try that next time… :-) Maybe that is already enough. Thanks again, much appreciated!!! -Martin > > On 15-11-20 09:43 AM, Martin Lippert wrote: >> 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 >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe from >> this list, visit >> https://dev.eclipse.org/mailman/listinfo/p2-dev > > _______________________________________________ > p2-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/p2-dev _______________________________________________ p2-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/p2-dev
