You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Daniel Barclay <db...@mercator.com> on 2002/05/06 16:50:30 UTC

RE: How do I specify multiple Windows directories in one statement?


> From: Diane Holt [mailto:holtdl@yahoo.com]


> "\xyz\dir{1,2}" aren't relative pathnames.

If my current directory is "C:\abc", then doesn't "\xyz\dir1" refer to 
"C:\xyz\dir1", and if my current directory is "D:\def", then doesn't 
"\xyz\dir1" refer to "D:\xyz\dir1"? 



Daniel 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How do I specify multiple Windows directories in one statement?

Posted by Diane Holt <ho...@yahoo.com>.
--- Daniel Barclay <db...@mercator.com> wrote:
> > From: Diane Holt [mailto:holtdl@yahoo.com]
> > "\xyz\dir{1,2}" aren't relative pathnames.
> 
> If my current directory is "C:\abc", then doesn't "\xyz\dir1" refer to 
> "C:\xyz\dir1", and if my current directory is "D:\def", then doesn't 
> "\xyz\dir1" refer to "D:\xyz\dir1"? 

Nope. If you're in C:\abc, try to 'cd \xyz\dir1' and see what happens. To
get to C:\abc\xyz\dir1 from C:\abc, you would 'cd xyz\dir1'.

So, in Ant, if you're pointing to C:/abc, then specify xyz/dir1 to point
to C:/abc/xyz/dir1. (Note that I'm only willing to type those silly
backslashes when I'm referring you to a Winbloze command to run :)

Diane

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



__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>