Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 57830 invoked from network); 15 Jul 2004 14:32:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jul 2004 14:32:29 -0000 Received: (qmail 18296 invoked by uid 500); 15 Jul 2004 14:32:25 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 18236 invoked by uid 500); 15 Jul 2004 14:32:25 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 18220 invoked by uid 99); 15 Jul 2004 14:32:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Thu, 15 Jul 2004 07:32:23 -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 i6FEWK810129 for ; Thu, 15 Jul 2004 09:32:20 -0500 (CDT) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Thu, 15 Jul 2004 09:32:13 -0500 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2657.72) id <30DM5C7A>; Thu, 15 Jul 2004 09:32:13 -0500 Message-ID: From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: basedir not set corretly in subant task... Date: Thu, 15 Jul 2004 09:32:10 -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 > From: Steve Loughran [mailto:stevel@apache.org] > I am not happy with the way the current combination of ant/subant works. > I can work around it, but only if I control how the upper level build > file is invoking my build files, which is hard to do. And to justify. > And to use at all if InheritAll=true > > Here are some things we could do > > 1. nothing. Leave things painfully inconsistent. > 2. downrate basedir in to a normal property. What would this break? > 3. have an attribute in subant that lets you force the basedir of the > target build file. I was thinking along the lines of 3, but it remains a nasty work around. And you're really pushing the issue a level down, meaning that once setting this enforcebasedir="true" attribute, which affects the next level of , you must use it at all levels. The 'real' solution I can think of with my limited understanding of the issue would be to not use a user-defined property to override basedir in Ant (and thus SubAnt), because it propagates to all child levels, but another new mechanism that only affects the next level. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org