Hi:

I am trying to get the absolute path of the parent directory in ant as  a 
variable value

<project name="CreateProviders" default="all" basedir=".">
 <echo >
    pwd =  "${..}"/>
    pwd = Current Dir -- ${pwd}
    </echo>

 this is printing as ..
 pwd =  "${..}"/>
     [echo]     pwd = Current Dir -- ${pwd}

Can some one help me to get the value. Even if i assign 
pwd = "${../basedir}", it is not expanding the value. But it is expanding at 
run time. I need to capture this value and assign to some other property

Thanks
Aruna




      

Reply via email to