Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64875 invoked from network); 13 Nov 2003 19:59:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Nov 2003 19:59:40 -0000 Received: (qmail 65404 invoked by uid 500); 13 Nov 2003 19:59:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 65362 invoked by uid 500); 13 Nov 2003 19:59:14 -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 65329 invoked from network); 13 Nov 2003 19:59:14 -0000 Received: from unknown (HELO DNAEXG1.dwango.com) (66.236.30.36) by daedalus.apache.org with SMTP; 13 Nov 2003 19:59:14 -0000 Received: from syntheticplayground.com ([10.1.53.55]) by DNAEXG1.dwango.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 13 Nov 2003 11:59:16 -0800 Date: Thu, 13 Nov 2003 11:59:11 -0800 Subject: Re: problem with macrodefs 'expiring' in 1.6beta2. Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Corey Jewett To: "Ant Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <200311131831.14425.peter.reilly@corvil.com> Message-Id: X-Mailer: Apple Mail (2.552) X-OriginalArrivalTime: 13 Nov 2003 19:59:16.0276 (UTC) FILETIME=[9DFC9F40:01C3AA20] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N These are imported (I checked and import does not cause the problem): These would be E, B, A, and C: (D is basically a clone of C) Corey On Thursday, November 13, 2003, at 10:31 AM, peter reilly wrote: > Hi, > Can you send the macro's that cause the problem > I used > > > > HEllo 1 ${x} > > > > > > HEllo 2 ${x} > > > and ant E seemed to work correctly. > A: > [echo] HEllo 1 n > > B: > [echo] HEllo 2 y > > C: > [echo] HEllo 1 n > > D: > [echo] HEllo 1 n > > E: > > BUILD SUCCESSFUL > > Peter > > On Thursday 13 November 2003 18:08, Corey Jewett wrote: >> Started converting over to 1.6beta2 yesterday. Macrodef is a sweet >> feature, but it's not working properly with dependencies. Basically I >> have the following: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> A -> works as expected. >> B -> works as expected. Calls A appropriately. >> C -> A is called and executes properly. But C does not execute >> properly. >> D -> same as C. >> E -> A runs properly. B runs properly. C and D do not execute >> properly. >> >> By not executing properly I mean that the target 'runs', but the macro >> does not appear to run at all. >> >> It's as if a macro's contents are disposed of once it has been used. >> The only workaround I've found is to cripple my build file by removing >> all offending 'depends' declarations and then calling ant repeatedly >> for each target. >> >> Corey >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org