ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sibon Barman" <si...@ss8.com>
Subject RE: dependency checking
Date Fri, 05 Jan 2001 15:04:38 GMT
So what happens in the following scenario:
If a.java depends on b.java and b.java is not in the src directory and
b.class not in the CLASSPATH wouldn't Ant provide an error message?

If so, is it the java compiler providing this error message or ant?


Sibon Barman
  SS8 Networks, Inc.
  Suite 500
  495 March Road, Kanata,
  Ontario K2K 3G1
  *: (613)592-2100 ext:3281
  *: sibon@ss8.com



-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Friday, January 05, 2001 3:01 AM
To: ant-user@jakarta.apache.org
Subject: Re: dependency checking


Sibon Barman <sibon@ss8.com> wrote:

> It seems to me that Ant is excellent in dependency checking
> --- does it do anything special to achieve this dependency checking

Funny, isn't it? Ant doesn't do any dependency checking at all (unless
you are talking about the undocumented and optional <depend> task in
CVS).

All Ant does is to recompile every .java file that is newer than the
corresponding .class file (or where no .class file exists).

Stefan


Mime
View raw message