ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Current Directory
Date Thu, 14 Jun 2001 15:03:11 GMT
--- Annie Frost <> wrote:
> I am trying to use the <replace> with specifying a value="${curr.dir}"
> where curr.dir = current directory.
> I am running this from a DOS cmd and am unable to do anything aside from
> passing in a parameter for -Dcurr.dir=bluck.
> It'd be ideal to be more dynamic.  The token that I am replacing is an
> Apache Server Root...
> Any suggestions?

I'm not sure which "current directory" you mean. Are you referring to the
directory the build-file is running from? If you are, you can refer to it
using ${basedir} (assuming basedir is set to ".").



Do You Yahoo!?
Spot the hottest trends in music, movies, and more.

View raw message