Check the latest docs online.  The javac task has a depend attribute that does this, 
but it only works with Jikes or Java's classic
compiler.

If there are other ways to do this, I'd be interested to know too.

Scott Stirling
Framingham, MA

> -----Original Message-----
> From: Cecil, Paula New [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 08, 2001 9:39 PM
> To: Ant User
> Subject: Minimal Compiles
>
>
> After making my first ant build file, I notice that it always recompiles all my java 
>sources, even when the class files
> are more recent than the sources.
>
> This means that instead of sub-second run times, it is taking almost half a minute.
>
> After looking thru all the built-in tasks, I don't see any obvious way of minimizing 
>the compile times (such as Makefile does).
>
> Appreciate any pointers.
>
> thanks
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to