From james.davidson@eng.sun.com Mon Feb 28 04:42:46 2000 Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 5630 invoked from network); 28 Feb 2000 04:42:46 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 28 Feb 2000 04:42:46 -0000 Received: from shorter.eng.sun.com ([129.144.252.35]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id UAA12079 for ; Sun, 27 Feb 2000 20:42:45 -0800 (PST) Received: from ionic (hobo131.EBay.Sun.COM [129.150.99.131]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with SMTP id UAA04755 for ; Sun, 27 Feb 2000 20:42:44 -0800 (PST) Message-ID: <003b01bf81a6$6fed7350$83639681@ionic> From: "James Duncan Davidson" To: References: <85256892.0069D419.00@d54mta04.raleigh.ibm.com> Subject: Re: Little change (last modified check) Date: Sun, 27 Feb 2000 20:44:01 -0800 Organization: Sun Microsystems, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I'm adding a warning in javac if any source file is found to have a last > modification date in the future. At first I thought the new ant had a > regression in this area as it insisted on rebuilding the source every time, > but I soon discovered that the problem exists in the current ant. (I'm > GMT-5, and it took me somewhat less time to download and test this). I'm > not sure how to fix it, but I certainly do know how to issue a warning... Hmm... I don't know what to do about it either.. Maybe we should just go ahead and compile even so -- I don't think it's worth stopping the build for.. But a warning is certainly in line. Something along the lines of "Hey, user! There are files here with a modification time in the future. I'm going to go ahead and compile them, but because of this, I'll compile them each and every time until you fix things!" .duncan ---------------------------------------------------------------------- James Duncan Davidson duncan@eng.sun.com Java + XML / Portable Code + Portable Data !try; do();