Summary: | jar reports warning class modified in future on Windows FAT filesystems | ||
---|---|---|---|
Product: | Ant | Reporter: | Ronald Lamprecht <R.Lamprecht> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | regression | ||
Priority: | P2 | ||
Version: | 1.7.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Ronald Lamprecht
2007-08-04 08:38:35 UTC
Are you using a FAT filesystem? Since version 278117 (included in Ant 1.7.0) of FileUtils we assume a millisecond resolution in timestamping on windows NT (actually the resolution on NTFS is 100 ns. (XP and Vista included.) http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/FileUtils.java?r1=277845&r2=278117 Indeed I used a FAT partition for data exchange between XP/Vista - Linux. On the main NTFS partitions it works fine. I encounter this warning every time I use the copy task to copy recently created zip, jar, or war files from NTFS (my workspace) to FAT32 (my build archive): dist: [zip] Building zip: D:\workspace\nl-webapp\dist\nl-webapp-src-20081217.zip archive-build: [copy] Warning: nl-webapp-src-20081217.zip modified in the future. [copy] Copying 1 file to F:\Archive\20081217 BUILD SUCCESSFUL Total time: 2 seconds ant version 1.7.0 v200803061910 WinXP D: NTFS F: FAT32 Same situation as #2 - using FAT32 for transfer between Windows and Linux. I believe this is a fairly common environment. |