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

This seems related to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=267694.
John and I are fixing code in that area today.
Please enter a new bug for this problem.

Inactive hide details for Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>

          Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          03/11/2009 05:01 PM

          Please respond to
          P2 developer discussions <p2-dev@xxxxxxxxxxx>


P2 developer discussions <p2-dev@xxxxxxxxxxx>



[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

p2-dev mailing list

GIF image

GIF image

GIF image