ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: Patch: Modified in the future on Windoze
Date Tue, 28 Nov 2000 18:25:32 GMT
on 11/28/2000 6:21 AM, "Roger Vaughn" <rogervaughn@yahoo.com> wrote:

> It appears that the "modified in the future" check
> performed by SourceFileScanner doesn't work properly
> on Windoze.  On digging around, I found out that
> Windoze stores modification times with a maximum
> resolution of 2 secs - and rounds *up* to the nearest
> match.
> 
> This means that SourceFileScanner is constantly
> reporting just-built files as being modified in the
> future - harmless, but annoying.  (Not to mention it
> will make you ignore the warning just when you need to
> see it...)
> 
> Attached is a patch to fix this that simply revises
> the definition of "now" to match Windoze modification
> times.
> 
> roger

THANK YOU!

This has been driving me nuts for ages now.

-jon

-- 
twice of not very much is still a lot more than not very much


Mime
View raw message