Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78909 invoked from network); 13 Jul 2004 16:48:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jul 2004 16:48:32 -0000 Received: (qmail 33910 invoked by uid 500); 13 Jul 2004 16:48:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33825 invoked by uid 500); 13 Jul 2004 16:48:09 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 33723 invoked by uid 99); 13 Jul 2004 16:48:08 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received: from [134.132.72.99] (HELO junior.lgc.com) (134.132.72.99) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 13 Jul 2004 09:48:06 -0700 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.7/8.11.3) with SMTP id i6DGlv802396 for ; Tue, 13 Jul 2004 11:47:57 -0500 (CDT) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Tue, 13 Jul 2004 11:47:48 -0500 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2657.72) id <3372QXL2>; Tue, 13 Jul 2004 11:47:48 -0500 Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Duplicate target names Date: Tue, 13 Jul 2004 11:47:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Yuji Yamano [mailto:yyamano@kt.rim.or.jp] > > On Tue, 13 Jul 2004 10:58:09 -0400, > Laran Evans wrote: > > > Can anyone explain this trace to me? I'd be happy to provide the build > > files involved if needed. > > 1. ant calls "compile" target in travel_web/build.xml. > 2. "compile" target depends on "dependencies" target, > so "dependencies" target is called. > 3. "dependencies" target calls "subant" task. > 4. "subant" task calls "jar" target in the same build.xml. > 5. "jar" target depends on "dependencies" target in the same build.xml, > then build failed to avoid infinite dependency loop. Interesting. I didn't know such a check existed. Anyways, is designed to call other build files, not the current one. Use to call targets from the same build file. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org