ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Querret <g.quer...@riverside-software.fr>
Subject Re: Regexp mapper + Zip task on Windows
Date Tue, 17 May 2016 20:23:04 GMT
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 <bodewig@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Gilles QUERRET

Riverside Software
15d route de Bellevue • 69440 Mornant • France
Mob : +33 662.525.532

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message