ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21014] - Touch not precise enough
Date Mon, 23 Jun 2003 16:36:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21014>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21014

Touch not precise enough





------- Additional Comments From stevel@apache.org  2003-06-23 16:36 -------
Touch is a wrapper around the java.io.File.SetLastModified() method, which takes
a time in milliseconds, rounded down by whatever the filesystem can handle.

If you have an accuracy problem it is either
-your file system: FAT only has a 2s accuracy (that other ant tasks take in to
account)
-different clocks are set to different values or timezones.

With comments about 'network; in your bugrep, I suspect that your remote server
does not have a clock in sync with your local system. Try using something like
NTP to line all your clocks up.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message