ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Accessing a directory on Unix
Date Tue, 10 Jul 2001 06:18:51 GMT
It does neither - it uses the Java API.

Conor
(non-HTML email please).

-----Original Message-----
From: Shankar Unni [mailto:shankar@intruvert.com]
Sent: Tuesday, 10 July 2001 4:05 AM
To: 'ant-user@jakarta.apache.org'
Subject: RE: Accessing a directory on Unix


Nico Seessle [mailto:nico@apache.org] writes:
> What do you expect to happen? "mkdir //1.2.3.4/a/b/c" is an
> invalid command on Windows NT.
It's an invalid command *if you execute it inside CMD.EXE*. It's perfectly
legal if you do it at the API level, or if you use it in a shell that
doesn't go way out of its way to explicitly disallow "/" in path names (e.g.
bash, tcsh, etc.)
How does ant implement mkdir? Does it call the native APIs, or does it do
this by spawning a shell?
--
Shankar.


Mime
View raw message