Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 6345 invoked from network); 19 Feb 2003 02:14:57 -0000 Received: from w099.z064221047.bos-ma.dsl.cnc.net (HELO mail00.oculustech.com) (64.221.47.99) by daedalus.apache.org with SMTP; 19 Feb 2003 02:14:57 -0000 Received: from oculustech.com (ndcvba1.utc.com [192.249.49.31]) by mail00.oculustech.com (Postfix) with ESMTP id 9A5921E8 for ; Tue, 18 Feb 2003 21:13:10 -0500 (EST) Date: Tue, 18 Feb 2003 21:15:05 -0500 Subject: Re: Conditional target execution based on prerequisite execution Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Timothy Wall To: user@ant.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.551) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sunday, August 25, 2002, at 06:05 PM, Martin wrote: > Tim/Mike > It appears we have 2 items here > 1)The regular Target dependency tree > 2)Targets which should be executed everytime the Project build is > invoked. > Does Ant have a mechanism for ALWAYS executing specified targets > everytime > the Project build is invoked > Regardless of the Dependency tree? > No, that's easy enough to do by depending on a dummy target. What is useful is only running selected steps as necessary, reducing overall build time. Unfortunately, the current mantra seems to be "with jikes, builds don't take very long, so just build everything". This is a very naive approach. Sorry, but it just ain't so. Throw in a few idl conversions, a few project compiles, and a final unification jar, and I don't want to wait for everything.