ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Purang <>
Subject RE: Current Directory
Date Thu, 14 Jun 2001 17:45:51 GMT
Hi Diane ,
   Can you suggest a solution to my problem in the last mail that I sent
out, I am stcuk becuase of this on an ANt conversion project.
   I just do not seem to be able to ahead on getting compilation to work
only for those files which are changed ..ut compiles all of them ...and the
depend task does not seem to remove the files whose dependencies have
   Or if you guide me to some resource which gives me a better idea about it
Viraj Purang

-----Original Message-----
From: Diane Holt []
Sent: Thursday, June 14, 2001 8:03 AM
Subject: Re: Current Directory

--- 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