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 Summary: Touch not precise enough Product: Ant Version: 1.5.3 Platform: All OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] ...it should handle seconds in the datetime parameter. My use case: 1. [Local Buildfile] Builds distribution package 2. [Local Buildfile] Uploads distribution package to remote server including remote buildfile 3. [Local Buildfile] runs remote buildfile via telnet 4. [Remote Buildfile] uses ECHO to write timestamp file if installation successful 5. [Local Buildfile] downloads timestamp file and reads timestamp property 6. [Local Buildfile] uses TOUCH with parameter datetime containing just read timestamp on some temporary file 7. [Local Buildfile] uses UPTODATE to verify that temporary file is NEWER than the archive built in 1. This crashes from time to time, if rebuild is very fast: e.g. the archive is created at 02:02:10, the installation is complete at 02:02:43, but the temporary touched file's date is set to 02:02:00 Note above, that the touch is just a workaround because UPTODATE is only working with files. But there might be other problem cases, too. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]