Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 78938 invoked by uid 500); 16 May 2001 23:39:16 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 78817 invoked from network); 16 May 2001 23:39:12 -0000 From: "Jose Alberto Fernandez" To: Subject: RE: [RESULT] multithrading Date: Thu, 17 May 2001 00:42:05 +0100 Message-ID: <002301c0de61$d154e650$5a73883e@viquity.com> 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 CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010516211410.65691.qmail@web13402.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > From: Diane Holt [mailto:holtdl@yahoo.com] > > > > Sure there is. Given 'ant A B', it'll run X,Y,A,Y,X,B; > running 'ant B A' > runs Y,X,B,X,Y,A. And if you add a target "Z" that depends on > both A and > B, listed as depends="A,B", running 'ant Z' will run > X,Y,A,B,Z -- listed > as depends="B,A", it'll run Y,X,B,A,Z. (This is almost > identical to how > 'make' would do it, except for the first case, where it would only run > X,Y,A,B, since X and Y were already run -- 'make b a' runs Y,X,B,A.) > Should ANT behave as make does? Today, the call 'ant A B' is equivalent to: ant A ant B two independent execusions, two independent dependency graphs. I have always thought that it is kind of wrong, that it should behave as make does: ant 'A B' where is consider to be a new pseudo target added to the buildfile. By the way, that would also give a hint on the correct meaning of: which should not be the same as: What do you all think? Jose Alberto