You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Shaikh, Mehmood" <Me...@ccra-adrc.gc.ca> on 2001/05/23 18:07:38 UTC

CWD on windows

How can i reference current working directory within a build file (on
windows platform)?

Re: CWD on windows

Posted by Diane Holt <ho...@yahoo.com>.
--- "Shaikh, Mehmood" <Me...@ccra-adrc.gc.ca> wrote:
> How can i reference current working directory within a build file (on
> windows platform)?

If you mean the dir you're in when you run 'ant', ${user.dir} (on any
platform).

Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

RE: CWD on windows

Posted by Dave Townsend <da...@bigfoot.com>.
>From my memory the property ${user.dir} should be the current directory. You
may want to check this though.

Dave Townsend <da...@bigfoot.com>

"To be sure of hitting the target, shoot first, and call whatever you hit
the target."
 

-----Original Message-----
From: Shaikh, Mehmood [mailto:Mehmood.Shaikh@ccra-adrc.gc.ca]
Sent: 23 May 2001 17:08
To: 'ant-user@jakarta.apache.org'
Subject: CWD on windows


How can i reference current working directory within a build file (on
windows platform)?