Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94297 invoked from network); 27 Jul 2005 14:36:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2005 14:36:02 -0000 Received: (qmail 33882 invoked by uid 500); 27 Jul 2005 14:35:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 33841 invoked by uid 500); 27 Jul 2005 14:35:54 -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 33828 invoked by uid 99); 27 Jul 2005 14:35:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2005 07:35:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.49.13] (HELO web52903.mail.yahoo.com) (206.190.49.13) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Jul 2005 07:35:47 -0700 Received: (qmail 61023 invoked by uid 60001); 27 Jul 2005 14:35:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4jVpayGqZTBjHD55pMbRSX5pVN7Ds9th4ATwOVI43dHVaT9et8H+5vx7DAW7HtzkAW9nTPfOiAMTufzGW4wZRhvD5xx5MHyhDnFdhGYqy17ocr0xtJYI2FNCFGItzugKLCViJ/sw/26puaObx3lo/blbxsfU77OItZwbq63X3tQ= ; Message-ID: <20050727143551.61021.qmail@web52903.mail.yahoo.com> Received: from [66.28.87.10] by web52903.mail.yahoo.com via HTTP; Wed, 27 Jul 2005 07:35:51 PDT Date: Wed, 27 Jul 2005 07:35:51 -0700 (PDT) From: Ivan Ivanov Subject: Re: Hard relative pathname problem To: Ant Users List In-Reply-To: <2F8048C5DB63E6498D846B0D08AF68670C5469@LexMSX01.exstream.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Have you tried defining properties for your paths using task with location attribute? --- Steve Pruitt wrote: > > My build file is located here: > > C:\top\A\B\build.xml > > and I need to include the file found here: > > C:\top\C\D\E\F\somefile.xml You can do it in the following way: Although you specify the location as a relative path, the value of the property will be expanded to the absolute path. The advantage is that in this way you rely only on relative paths between the files. However, if the релатиже location of somefile.xml is not fixed, you can isolate this propertie in an external properties file and adjust it every time the location of somefile.xml chages. HTH Ivan > > > I have searched but cannot find any example or > instruction on how to do > this. > > > Regards, > Steve Pruitt > email: spruitt@exstream.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org