[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] To update cache or not update cache?

Working on improving error messages. Found a potential issue - when checking if the cache is stale - a check is made for the same type of index file as used before
(say xml). Is it possible that a site can have a jar index that is newer than the xml index? If so, then the cache manager will never detect this. Is this ok? Also, if a site did not have a jar, and then converts to p2, then the local cache will not detect this (unless the xml file is newer). If an xml index is used, shouldn't it always also check for a newer jar and use that instead?

Henrik Lindberg