ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Does ant deal with reverse dependencies?
Date Thu, 16 Nov 2000 12:53:31 GMT
Jay Glanville <> wrote:

> Does ant have a mechanism where, if B is modified, that A will be
> re-compiled?

Ant 1.2 hasn't, but the current CVS version holds an undocumented
<depend> task that will help you here.

Basically <depend> understands the relationship between your classes
and if A depends on B and B has been changed, it will delete A.class
so that the next <javac> will recompile A as well.


View raw message