Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 37984 invoked from network); 20 Jun 2004 16:28:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jun 2004 16:28:28 -0000 Received: (qmail 48554 invoked by uid 500); 20 Jun 2004 16:28:20 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 48512 invoked by uid 500); 20 Jun 2004 16:28:19 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 48499 invoked by uid 99); 20 Jun 2004 16:28:19 -0000 Received: from [207.172.4.61] (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 20 Jun 2004 09:28:19 -0700 Received: from 65-78-6-14.c3-0.ned-ubr2.sbo-ned.ma.cable.rcn.com ([65.78.6.14] helo=GRACE) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1Bc5Ay-0006js-00 for user@ant.apache.org; Sun, 20 Jun 2004 12:28:12 -0400 From: "Mani G. Iyer" To: "'Ant Users List'" Subject: RE: javac and dependent classes Date: Sun, 20 Jun 2004 12:28:18 -0400 Message-ID: <000001c456e3$981f2780$6401a8c0@u14917.ecpm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <40D5B40C.3000407@pontarelli.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thank you Brian and Neta. The depend=true setting in my javac setting did the trick for me. But I think I will use javamake to avoid the case Brian mentioned. mani -----Original Message----- From: Brian Pontarelli [mailto:brian@pontarelli.com] Sent: Sunday, June 20, 2004 11:58 AM To: Ant Users List Subject: Re: javac and dependent classes Javac will handle most simple dependency checks. It will compile things in the correct order and handle building all your classes. The problem arises when you change the interface of one class, but do not recompile all the classes. Here, you need to determine dependencies in order to protect against runtime exceptions and errors. If you are talking about this case, it sounds like Javamake or depend will work for you. Otherwise, if you are just talking about compile order, javac will handle all that for you. - brian Mani G. Iyer wrote: >Hello: > >In the javac task what is the best way to resolve dependencies? Is there >anything I can run to determine the order of the classes to be compiled >prior to running the javac task? > >Thanks > >mani > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org