Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 54940 invoked from network); 13 Sep 2000 00:59:09 -0000 Received: from cr102266-a.ktchnr1.on.wave.home.com (HELO gateway.patronix.com) (qmailr@24.114.144.198) by locus.apache.org with SMTP; 13 Sep 2000 00:59:09 -0000 Received: (qmail 29267 invoked from network); 13 Sep 2000 00:57:14 -0000 Received: from unknown (HELO mocha) (192.168.0.129) by 192.168.0.100 with SMTP; 13 Sep 2000 00:57:14 -0000 From: "Scotte Zinn" To: "Ant User Mailing List \(E-mail\)" Subject: Question about warning message: file modified in the future Date: Tue, 12 Sep 2000 20:57:44 -0400 Message-ID: <00da01c01d1d$a0ccb040$0100000a@patronix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm running on a Win98 system and frequently (but not always) get this warning message when I am compiling files in my build tree just after copying them from my source tree. The code generating the message (in Javac.java) is: if (srcFile.lastModified() > now) { log("Warning: file modified in the future: " + files[i], Project.MSG_WARN); } I also remember reading somewhere that the Windows filesystem has an accuracy of 2 seconds and I'm wondering it that is what is causing the error message. I don't know of any other way to cause this message to be generated. In any case, what is the purpose of having this message being displayed? -- Scotte