ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Duncan Davidson <>
Subject Re: Javac dependency checking
Date Wed, 06 Dec 2000 09:10:07 GMT
On 12/5/00 8:23 AM, "Stefan Bodewig" <> wrote:

> It is not documented at the moment, you can search the archives for
> Conor's original mail on this task at
> <>. Basically you put a
>   <depend srcdir="${sourcedir}" destdir="${classes}" cache="dep.cache" />
> right in front of
>   <javac srcdir="${sourcedir}" destdir="${classes}" />
> and this task will remove the .class files for all classes that depend
> on your changed interface - and javac is going to recompile them. The
> cache attribute points to a directory where <depend> caches
> information between builds - and it is optional.

Cool enough -- but here's where I'll go against my minimalist grain -- why
shouldn't it be part of the javac task? Just have it as a flag
"dependencycheck='yes'" or some such? Real dependency checking was *always*
on the want list for the javac task. This would do it.


James Duncan Davidson                              
                                                                  !try; do()

View raw message