Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75771 invoked from network); 13 Jan 2006 11:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jan 2006 11:13:58 -0000 Received: (qmail 24750 invoked by uid 500); 13 Jan 2006 11:13:52 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24696 invoked by uid 500); 13 Jan 2006 11:13:52 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 24685 invoked by uid 99); 13 Jan 2006 11:13:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 03:13:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of paranoiabla@gmail.com designates 66.249.82.200 as permitted sender) Received: from [66.249.82.200] (HELO xproxy.gmail.com) (66.249.82.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 03:13:51 -0800 Received: by xproxy.gmail.com with SMTP id t15so376403wxc for ; Fri, 13 Jan 2006 03:13:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pd62yrGLLvJ73V1jiaA8WlIMAC6Hm7OS4ZFtq0vnGl/J+mb7CODoCOEQD4HzNyj6s2keh6POY0sg5Jj8ObPj1OAP4ybKceGCV+KOdtNEFgFVP6b70eR3tF/NZrqEnF54IVpSnAExYz8v7GHl8n2yzK5z+GWs+agRGve8ruU8oak= Received: by 10.70.71.4 with SMTP id t4mr1100180wxa; Fri, 13 Jan 2006 03:13:30 -0800 (PST) Received: by 10.70.90.18 with HTTP; Fri, 13 Jan 2006 03:13:30 -0800 (PST) Message-ID: Date: Fri, 13 Jan 2006 11:13:30 +0000 From: Petar Tahchiev To: Ant Users List Subject: Re: Relative paths In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28862_5684540.1137150810535" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_28862_5684540.1137150810535 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 13/01/06, Paulo Jorge Guedes wrote: > > Hi, > > I have this directory structure: > > Root > Apps > App1 > Nbproject > Src > > The build.xml files just import the files in the inner directories. The > build file on nbproject folder does all the work. > In each file I set the "basedir" attribute of "project" element to ".". > The problem is that the build file in nbproject is ignoring its basedir > setting using the one defined by the build file in the root directory. > > I'm out of ideas and would appreciate any help. > > Thanks in advance, > > Paulo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > I am no sure if my solution is good enough but when I have to get the directory where a build.xml is situated(of course this solution works if your basedir is .) I get it using the inner properties of ANT: ${ ant.file.NAMEOFIMPORTEDPROJECT} Hope that helps! -- Regards, Petar! ------=_Part_28862_5684540.1137150810535--