Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 31005 invoked by uid 500); 12 Jun 2001 00:49:35 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 30996 invoked from network); 12 Jun 2001 00:49:34 -0000 From: "Conor MacNeill" To: Subject: RE: depend task ... Date: Tue, 12 Jun 2001 10:52:39 +1000 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 No. The depend task will remove class files which are out of date with respect to some source file upon which they depend. So if A.java is out of date and another class depends on A, that other class' classfile will be removed. Javac's and Jikes' depend options, where they are actually present, work the other way around - when compiling A.java, they will compile any other out of date files upon which A.java depends. Classes which depend on A will not be recompiled. Conor > -----Original Message----- > From: Viraj Purang [mailto:viraj_purang@spincircuit.com] > Sent: Tuesday, 12 June 2001 10:41 AM > To: ant-user@jakarta.apache.org > Subject: depend task ... > > > HI, > If I give "depend optional task" in my build file , is it the same as > giving depend attribute on the core task :? > > destdir="{client.build}/classes" > cache="depcache" > closure="yes"/> > > > Regards, > Viraj Purang >