ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <>
Subject RE: Confused about the <depend> and <javac> tasks
Date Fri, 25 Apr 2003 12:46:11 GMT
Oh! Thanks so much Stefan!

-----Original Message-----
From: Stefan Bodewig [] 
Sent: Friday, April 25, 2003 1:17 AM
Subject: Re: Confused about the <depend> and <javac> tasks

On Thu, 24 Apr 2003, William Lopez <> wrote:

> sounds to me that <javac> is already doing what <depend> does?

On a single class level, yes.

Lets say

class A extends B

If is newer than B.class, <javac> will recompile, but not (as it is not newer than A.class).

<depend> will determine that B.class is out of date, it will also know that
changes to B may affect A and thus also consider A.class as out of date and
delete both .class files.

<javac> called after <depend> will now find that both and need
to be compiled as the .class files don't exist.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message