ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varadarajan A." <Varadaraja...@infosys.com>
Subject RE: [jspc] Warning: file modified in the future: myprg.jsp
Date Tue, 07 Oct 2003 11:49:24 GMT
I usually get this message when my system time is set to past. The
source code last modified time is set to past.

Varda

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Tuesday, October 07, 2003 5:15 PM
To: user@ant.apache.org
Subject: RE: [jspc] Warning: file modified in the future: myprg.jsp

<touch> the file before :-)

Jan



> -----Original Message-----
> From: D Bamud [mailto:nougain@hub.nic.in]
> Sent: Tuesday, October 07, 2003 1:30 PM
> To: Ant Users List
> Subject: [jspc] Warning: file modified in the future: myprg.jsp
> 
> 
> Windows2000 / ANT1.5.4 / J2SE1.4.2_01 / Tomcat 1.4.27
> 
> I often get the warning message...
> [jspc] Warning: file modified in the future: myprg.jsp
> 
> How to avoid it?
> 
> I know that Windows has peculiar way of reporting the last 
> modified time. 
> Here is what I gathered from web...
> ______________________________________________________
> This happens on fast machines running Windows/NT and Windows 9X. 
> (However, somebody even reported such a problem on a FAT32 drive 
> under plain DOS.) It is evidently due to a misfeature in the 
> way Windows 
> reports the time a file was last modified. Current versions 
> of Windows 9X
> store this time with 2-second granularity, but the file 
> creation time is stored
> with a 100-nanosecond granularity. It seems that Windows 
> blindly adds 2
> seconds to the system clock reading when it calculates the 
> file modification
> time, apparently to prevent it from being older than the file 
> creation time, 
> which could happen because of the greater accuracy used to store the 
> creation time. On a fast machine, this 2-second add-on can 
> very easily 
> make the file modification time be ahead of the system clock 
> when Make 
> checks the time stamp of a file it has just created/updated. 
> ______________________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message