Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 54640 invoked from network); 5 Jan 2001 15:05:58 -0000 Received: from mail.ss8.ca (HELO ss8mail1.ss8ott) (209.87.228.147) by h31.sny.collab.net with SMTP; 5 Jan 2001 15:05:58 -0000 Received: from sibonpc (SIBON_PC [192.168.1.63]) by ss8mail1.ss8ott with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id CF8WBFGW; Fri, 5 Jan 2001 10:05:36 -0500 From: "Sibon Barman" To: Subject: RE: dependency checking Date: Fri, 5 Jan 2001 10:04:38 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 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 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