Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74492 invoked from network); 13 Jul 2004 16:42:31 -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:42:31 -0000 Received: (qmail 15847 invoked by uid 500); 13 Jul 2004 16:42:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 15505 invoked by uid 500); 13 Jul 2004 16:42:13 -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 15468 invoked by uid 99); 13 Jul 2004 16:42:13 -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 [202.247.191.123] (HELO serio.al.rim.or.jp) (202.247.191.123) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 13 Jul 2004 09:42:09 -0700 Received: from mail6.rim.or.jp by serio.al.rim.or.jp (3.7W/HMX-13) id BAA12452; Wed, 14 Jul 2004 01:41:54 +0900 (JST) Received: from localhost (ppp470.pas.jp.rim.or.jp [202.247.177.12]) by mail6.rim.or.jp (8.9.3/3.7W) id BAA13305; Wed, 14 Jul 2004 01:41:50 +0900 (JST) Date: Wed, 14 Jul 2004 01:42:03 +0900 (JST) Message-Id: <20040714.014203.57969506.yyamano@kt.rim.or.jp> To: user@ant.apache.org, lc278@cornell.edu Subject: Re: Duplicate target names From: Yuji Yamano In-Reply-To: <40F3F881.2090602@cornell.edu> References: <40F3F881.2090602@cornell.edu> X-Mailer: Mew version 3.3 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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. > parsing buildfile C:\dev\home\dfaFinSys\project\travel_web\build.xml > Build sequence for target `compile' is [dependencies, compile] > Complete build sequence is [dependencies, compile, setup-workspace, > init, clean, > jar, war, ] > dependencies: > [subant] calling target jar in build file > C:\dev\home\dfaFinSys\project\travel_web\build.xml > parsing buildfile C:\dev\home\dfaFinSys\project\travel_web\build.xml > Build sequence for target `jar' is [dependencies, compile, jar] > Complete build sequence is [dependencies, compile, jar, setup-workspace, > init, > clean, war, ] > > BUILD FAILED > C:\dev\home\dfaFinSys\project\build-master.xml:145: subant task calling > a target > that depends on its parent target 'dependencies'. 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. Hope this helps. -- Yuji Yamano Loan me your funky mind. So I can play with it, for nothing is good unless you play with it. --George Clinton --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org