Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 80661 invoked from network); 11 Dec 2002 05:51:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Dec 2002 05:51:40 -0000 Received: (qmail 14656 invoked by uid 97); 11 Dec 2002 05:52:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14639 invoked by uid 97); 11 Dec 2002 05:52:49 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 14627 invoked by uid 98); 11 Dec 2002 05:52:49 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20021211055137.53024.qmail@web8201.mail.in.yahoo.com> Date: Wed, 11 Dec 2002 05:51:37 +0000 (GMT) From: =?iso-8859-1?q?Ram=20Krish?= Subject: Re: Depend Task.. To: Ant Users List In-Reply-To: <3DF6CC64.8000603@cortexebusiness.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, if is not perfect, how to solve this dependency probelm when compiling?.I want to write a script for our financial product which is already running live.Previously we were using NT batch file to build.Please help me in this regard. Ramkumar --- Conor MacNeill wrote: > Ram Krish wrote: > > Hi, > > I have very liitle knowledge in Ant.Whats the > > advantage of Depend task over javac > > If class A depends on class B and B.java is changed, > the task > will not recompile A.java even though class B may > have changed its > interface. If it hasB has changes, the result may be > a runtime error > (IncompatibleClassChangeError). The depend task > analyses class > dependencies and if A depends on B and B.java has > changed, it will > delete A.class, forcing A.java to be recompiled. The > interface change > would then cause some sort of compilation error. > > is not perfect as it relies on class file > dependencies. Most, > but not all, source level dependencies result in > class filedependencies. > In particular, static final constants do not. > > and how to combine > > them effectivwly for building projects?..(i am > using > > JDK1.3.1) > > > > Just put a task before in your > build target and use the > same parameters. > > Conor > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: