Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 78784 invoked from network); 2 Feb 2006 05:06:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 05:06:37 -0000 Received: (qmail 43275 invoked by uid 500); 2 Feb 2006 05:06:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 43230 invoked by uid 500); 2 Feb 2006 05:06:32 -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 43219 invoked by uid 99); 2 Feb 2006 05:06:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 21:06:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [217.160.128.107] (HELO www.samaflost.de) (217.160.128.107) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 21:06:31 -0800 Received: by www.samaflost.de (Postfix, from userid 1000) id 61B6188A408; Thu, 2 Feb 2006 06:06:09 +0100 (CET) To: user@ant.apache.org Subject: Re: Property file - How to specify the "location" attribute X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 52286) References: <200602011737.k11Hbkt3027675@bcr12.uwaterloo.ca> From: Stefan Bodewig Date: Thu, 02 Feb 2006 06:06:09 +0100 In-Reply-To: <200602011737.k11Hbkt3027675@bcr12.uwaterloo.ca> (Issam Aib's message of "Wed, 1 Feb 2006 12:37:46 -0500") Message-ID: <878xsu9wou.fsf@www.samaflost.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wed, 1 Feb 2006, Issam Aib wrote: > For example, suppose the current ${basedir} is equal to > “c:\projectname\app” and I define this property in the build.xml > (located at ${basedir} of course): Minor nit: ${basedir} and the directory containing build.xml are independent of each other. > is the same as since all relative paths are relative to ${basedir}, Ant will take care of them for you. > This means that the property definitions in the property file are > understood as a “value” attribute of a property definition and not > a “location” attribute. Most of the time this is no big deal since Ant will resolve the path in many places when you actually use the property. If you run into problems with the properties use and semantic attributes instead of a properties file. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org