You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by kaushank nalin khandwala <ka...@rediffmail.com> on 2001/10/16 05:34:25 UTC

compiling based on timestamp

Hi,
I am a  new User to Ant tool .

my proj structure includes around 80 java files in nested sub-directories. 

For compiling all the files it takes  35 seconds.
 
Does ant always recompile source files,even if the source files havent changed ?

I observe that ant takes the same time as before even if src files havent changed ..
can ant be configured to compile based on Timestamp just like make.
(ie it should not recompile if timestamp of src files havent changed)  
rgds
kaushank  
 


 


RE: compiling based on timestamp

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Can you check out this FAQ entry
http://jakarta.apache.org/ant/faq.html#always-recompiles

and then let us know if you still have problems. Also this page
http://jakarta.apache.org/ant/problems.html

gives you some tips on how to see what Ant is up to.

Thanks
Conor


> -----Original Message-----
> From: kaushank nalin khandwala [mailto:kaushank@rediffmail.com]
> Sent: Tuesday, 16 October 2001 1:34 PM
> To: ant-user@jakarta.apache.org
> Subject: compiling based on timestamp 
> 
> 
> 
> Hi,
> I am a  new User to Ant tool .
> 
> my proj structure includes around 80 java files in nested 
> sub-directories. 
> 
> For compiling all the files it takes  35 seconds.
>  
> Does ant always recompile source files,even if the source files 
> havent changed ?
> 
> I observe that ant takes the same time as before even if src 
> files havent changed ..
> can ant be configured to compile based on Timestamp just like make.
> (ie it should not recompile if timestamp of src files havent changed)  
> rgds
> kaushank  
>  
> 
> 
>  
> 
>