Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 80024 invoked from network); 11 Dec 2000 19:55:05 -0000 Received: from gateway1.lawson.com (206.145.14.2) by locus.apache.org with SMTP; 11 Dec 2000 19:55:05 -0000 Received: from gateway1.lawson.com (root@localhost) by gateway1.lawson.com with ESMTP id NAA05286 for ; Mon, 11 Dec 2000 13:55:08 -0600 (CST) From: David.Bailey@lawson.com Received: from smtp.lawson.com (smtp.lawson.com [10.0.0.100]) by gateway1.lawson.com with SMTP id NAA05280 for ; Mon, 11 Dec 2000 13:55:07 -0600 (CST) Received: by smtp.lawson.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 062569B2.006D9E38 ; Mon, 11 Dec 2000 13:57:19 -0600 X-Lotus-FromDomain: LAWSON To: ant-user@jakarta.apache.org Message-ID: <062569B2.006D9C49.00@smtp.lawson.com> Date: Mon, 11 Dec 2000 13:54:05 -0600 Subject: Dependencies Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Two questions: 1) Does ANT and/or jdk1.3-based JAVAC perform automatic "forward" dependency-checking? That is, ClassA depends on ClassB depends on ClassC, and a change is made to ClassC.java, will ANT or JAVAC figure that out and include it upon recompiling ClassA.java? I think JAVAC does this automagically under jdk1.3, replacing the need for the unofficial -Xdepend option of jdk1.2.2, but I would like someone to confirm that this is correct. 2) Conor: LOVE the stuff you're doing with "reverse" dependency-checking. I haven't even downloaded your code yet --- and I will --- but before I start picking through it, I thought I'd ask whether it can be easily tweaked to spit out logfile of all dependencies it has found. That is, when I compile com.mycompany.mypackage, could I generate a list of all classes that depends on somewhere? Like I said, I'll look at your code myself, but I thought you might be able to tell me off the top of your head. Thanks, --dave