Hi,
I think I've found the issue, but would like to get confirmation : the granularity of file timestamps is different on NTFS and Linux filesystems (1 and 2000 respectively), however it seems that file entries in ZIP files have a different granularity. From my tests, I'm always gettings timestamps from ZIP file which are 1.5 seconds more recent than file timestamps, so the ZIP file is not updated on Unix (less than 2 seconds), but not on Windows (only 1ms granularity). Does anybody have enough knowledge of ZIP files to confirm that ? A fix could be to have a different granularity based on the resource type we're trying to update, but I don't know how easy it would be to do that. Gilles PS : posted on the ML, will update the bugzilla entry. Are bugzilla comments posted on this ML ? On Tue, May 17, 2016 at 5:03 PM, Stefan Bodewig <bode...@apache.org> wrote: > On 2016-05-17, Gilles Querret wrote: > > > Thanks for your answer. I've just opened > > https://bz.apache.org/bugzilla/show_bug.cgi?id=59562 in order to keep > track > > of this issue, and also attached patches. > > Many thanks! > > > I'll try to find the problem, and I'm sure I'll have questions ! > > Don't hesitate to ask. > > Cheers > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > -- Gilles QUERRET Riverside Software 15d route de Bellevue • 69440 Mornant • France Mob : +33 662.525.532