Hi,

Have a read of:

http://jakarta.apache.org/ant/faq.html#always-recompiles


Adam

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 27 March 2002 5:01 AM
> To: [EMAIL PROTECTED]
> Subject: Problem: Ant always compiles everything
>
>
>
> I'm relatively new to Ant and am having a basic problem.  I have
> a project setup to build my app.  Of course, I use the javac task
> to compile the files.  I specificy that all java files under my
> current directory should be compiled.  From reading the docs, it
> looks like it should only compile the files that are not up to
> date (i.e., the java file is newer than the class file).
>
> But this does not appear to be happening.  When I build the
> project, the output from ant indicates that it is recompiling
> everything.  I had even considered the possibility that Ant might
> be lying to me, that it might say its compiling everything but
> really only compiles the necessary files.  But a quick glance at
> the class file dates has proven that incorrect.
>
> Thanks,
> Harry Culpan
> [EMAIL PROTECTED]
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>


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

Reply via email to