Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 82924 invoked from network); 13 Jul 2004 16:55:47 -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:55:47 -0000 Received: (qmail 47674 invoked by uid 500); 13 Jul 2004 16:55:45 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 47633 invoked by uid 500); 13 Jul 2004 16:55:45 -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 47620 invoked by uid 99); 13 Jul 2004 16:55:44 -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; Tue, 13 Jul 2004 09:55:44 -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 i6DGtf804894 for ; Tue, 13 Jul 2004 11:55:41 -0500 (CDT) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Tue, 13 Jul 2004 11:55:37 -0500 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2657.72) id <3372QX8K>; Tue, 13 Jul 2004 11:55:37 -0500 Message-ID: From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: basedir not set corretly in subant task... Date: Tue, 13 Jul 2004 11:55:31 -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: Alan Brown [mailto:abrown@symyx.com] > > I have a master build file in Project that uses the Ant task to call > targets in slave build files in the directories below it (tools, server > and client). One of these slave build files (Tools) uses Subant to call > build files dynamically in directories below it. However, in this > scenario the baseDirectory is not set correctly and remains as the Tools > directory. > > This is confirmed by the fact that all runs perfectly well if I run 'ant > build' directly from the Tools directory. It's only running it from > Project that causes the failure. > > Does anyone know a workaround to this problem? It may be a bug indeed!? But a possible work around would to not use from the master build, but as well, or use is such a way that you do not override the basedir of the Tools build. The problem might be the interaction of + . --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org