|
|
Re: P2: cached repository data [message #849827 is a reply to message #849274] |
Thu, 19 April 2012 13:35 |
Christian Sell Messages: 51 Registered: August 2010 |
Member |
|
|
I am still not getting anywhere with this. Heres my scenario:
1. I start my application, which updates from a remote repository. Afterwards, I find 2 files in the p2\org.eclipse.equinox.p2.repository\cache directory, namely artifacts646910755.jar and content646910755.jar. Both have a file timestamp of, say, 15:17. I close the app.
2. I replace the repository with another one, which contains updated features. The second repository was exported after the first one, therefore all file timestamps are later. However, the timestamps in the cache are (obviously) the youngest.
3. I again start the app, expecting autoupdate to happen. However, it reports "no updates found"! I have to go and manually delete the files mentioned in 1., and restart the app. Now the update takes place.
I have looked at the code you mentioned (SimpleMetadataRepositoryFactory#getLocalFile()), but couldn't gather from there what the issue is. Any help appreciated..
thanks,
chris
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04004 seconds