ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: circular references and dependencies in general
Date Tue, 23 Oct 2001 11:25:42 GMT
On Mon, 22 Oct 2001, <> wrote:

> Does Ant attempt to compile imports (unlike javac) further than
> depth 1?

Ant's <javac> doesn't attempt to look at imports at all.  It compiles
all sources that are newer than the corresponding class files, that's

If you need more than that, take a look at the optional <depend> task
which will not look at imports either, but compute the dependencies
from the compiled classes - if you specify closure="true", it will
follow these dependencies to an arbitrary depths.

> What does Ant do in the case of circular references?

It either won't recognize it or compile all involved classes at once.


View raw message