ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taylor, Jeremy" <jtay...@lehman.com>
Subject RE: Unnecessary compilation
Date Thu, 19 Oct 2000 11:18:29 GMT
javac in 1.2 works ok for me on both NT & Solaris.

Can you post the relevant bits of your script for us?

> -----Original Message-----
> From:	Kief Morris [SMTP:kief@bitBull.com]
> Sent:	19 October 2000 12:13
> To:	ant-user@jakarta.apache.org
> Subject:	Unnecessary compilation
> 
> I've found that all of my source files are being recompiled by the
> <javac> target every time, regardless of whether I've changed them.
> According to the docs, "Only Java files that have no corresponding
> class file or where the class file is older than the java file will be
> compiled." However, I check the date on a .class file and the
> corresponding .java file and verify the .class is older, then run
> build again and the .class file now has a newer timestamp.
> 
> Any suggestions? Does this work correctly for other people?
> I'm using a relatively recent build of Ant 1.2 (less than a week old),
> Sun JDK 1.1.8 on Solaris 7.
> 
> Thanks,
> Kief
> 
> 
>             The Wildest party on the Net is on!
>                      http://www.Wild5.com
> 

Mime
View raw message