ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: circular references and dependencies in general
Date Tue, 23 Oct 2001 11:25:42 GMT
On Mon, 22 Oct 2001, <PrattCM@appliedbiosystems.com> 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
all.

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.

Stefan

Mime
View raw message