ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Vaughn <>
Subject Patch: Modified in the future on Windoze
Date Tue, 28 Nov 2000 14:21:18 GMT
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

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


Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
View raw message