Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 8540 invoked from network); 16 Nov 2001 00:43:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Nov 2001 00:43:23 -0000 Received: (qmail 6267 invoked by uid 97); 16 Nov 2001 00:43:19 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 6251 invoked by uid 97); 16 Nov 2001 00:43:18 -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 6240 invoked from network); 16 Nov 2001 00:43:18 -0000 Message-Id: <200111160043.fAG0hHD32314@mail004.syd.optusnet.com.au> Content-Type: text/plain; charset="utf-8" From: Peter Donald To: "Ant Users List" Subject: Re: Building multiple targets using the task? Date: Fri, 16 Nov 2001 11:40:18 +1100 X-Mailer: KMail [version 1.3.1] References: <005e01c16e10$4c4ea880$17010a0a@Alameda> In-Reply-To: <005e01c16e10$4c4ea880$17010a0a@Alameda> X-Wisdom-Cookie: . MIME-Version: 1.0 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 On Fri, 16 Nov 2001 07:01, Bryan Pendleton wrote: > When I run ant from the command line, I can say > > ant clean build test1 test2 > > and that single invocation of ant will figure out > all the task dependencies and build all the named > targets, in one single clean pass. actually this is almost equivelent to ant clean ant build ant test1 ant test2 except that the properties are kept between each run. So there is no magic working out of dependencies etc. In Ant2 we have discussed making it exactly equivelent to ant clean ant build ant test1 ant test2 due to user requests. > Can I do the same thing using the task? I > tried the obvious > > you could try ... > > and ant responded with > > Target 'clean build test1 test2' does not exist in this project. > > thanks, > > bryan > > mailto:Bryan.Pendleton@edgility.com -- Cheers, Pete *------------------------------------------------* | The student who is never required to do what | | he cannot do never does what he can do. | | - John Stuart Mill | *------------------------------------------------* -- To unsubscribe, e-mail: For additional commands, e-mail: