ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Delpin, Maria" <maria.del...@documentum.com>
Subject RE: how can i get the exact path from build.xml files?
Date Thu, 19 Feb 2004 22:05:18 GMT
What about if you want ${basedir} but you also want the value of the
directory directly above it? Is there an easy way to extract this from
${basedir}?

-maria

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Friday, February 13, 2004 2:46 AM
To: user@ant.apache.org
Subject: RE: how can i get the exact path from build.xml files?

Simply use ${basedir}.
Contains the absolute path you wanted.


Jan


> -----Original Message-----
> From: Baz ¤Ñª° [mailto:sky_fox1@yahoo.com]
> Sent: Thursday, February 12, 2004 11:51 PM
> To: ant-user@jakarta.apache.org
> Subject: how can i get the exact path from build.xml files?
> 
> 
> Hi,
> 
> How can I get the exact path from the build.xml and assign it to a 
> variable?
> 
> To have the same effect as THIS_DIR=`pwd` in unix?
> 
> Thanks
> 
> Barry
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message