Thanks Stefan I finally used the import task and it is working fine.
Cheers, Issam > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: February 2, 2006 12:06 AM > To: user@ant.apache.org > Subject: Re: Property file - How to specify the "location" attribute > > On Wed, 1 Feb 2006, Issam Aib <[EMAIL PROTECTED]> 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. > > > <property name="project.dir" location="${basedir}/.." /> > > is the same as <property name="project.dir" location="${basedir}/.." /> > 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 <xmlproperty> and semantic attributes > instead of a properties file. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]