Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 52448 invoked from network); 4 Dec 2004 19:39:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Dec 2004 19:39:57 -0000 Received: (qmail 30665 invoked by uid 500); 4 Dec 2004 19:39:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 30611 invoked by uid 500); 4 Dec 2004 19:39:49 -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 30596 invoked by uid 99); 4 Dec 2004 19:39:49 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 04 Dec 2004 11:39:49 -0800 Received: (qmail 52411 invoked by uid 1339); 4 Dec 2004 19:39:48 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 4 Dec 2004 19:39:48 -0000 Date: Sat, 4 Dec 2004 11:39:48 -0800 (PST) From: Martin Cooper To: user@ant.apache.org Subject: Properties getting unset with ? Message-ID: <20041204112156.W91145@minotaur.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is weird. I'm using Ant 1.6.2, and trying to use with selective overriding of targets. The problem is that when I invoke an imported target from its override, any properties set in that target appear to be "forgotten" later on. An example will make this clear, I hope. Now if I do: ant -f importer.xml show I get: init: imported.init: [echo] foo is set show: [echo] foo = ${foo} The property has been forgotten? This is clearly not what I would expect! Now, if I remove the overridden 'init' target, I get: init: [echo] foo is set show: [echo] foo = foo-value which is what I expect. Is this a known bug? Or is there something I'm doing wrong? If it's a bug, is there a workaround? I can't really do much with when my properties get forgotten. ;-} TIA. -- Martin Cooper --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org