On Wed, 2004-12-15 at 11:42, Joel wrote:
> > For that last part, I think that you need to look at <depend/>.
> > Have a
> >
> > <depend srcdir="${src}" destdir="${dest}">
> >
> > <javac/> is not aware of dependencies and inheritance hierarchies.
>
> Is <javac/> supposed to be able to tell when a particular source file
> is newer than its class file?
>
> --
> Joel Rees <[EMAIL PROTECTED]>
> digitcom, inc. æåäçãããã
> Kobe, Japan +81-78-672-8800
> ** <http://www.ddcom.co.jp> **
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
Sorry, I was a bit ambiguous in my first answer.
Yes, it can check a .java source file against the corresponding .class
file for timestamp or existence differences which point to requiring a
compilation, but my understanding is that it doesn't check for a
superclass having changed, or any imports. You may get compile failures
thrown by javac; for example, if a new abstract method has been
introduced by into a superclass; which would alert you to a potential
issue. But you may just get a subtle bug in your application.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]