ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shankar Unni <shan...@intruvert.com>
Subject RE: How can I create a zero length file
Date Fri, 07 Sep 2001 16:30:02 GMT
Not true. 

  <touch file="myfile"/>

works just fine on NT as well.  Of course, it won't *truncate* an existing
non-zero-length file - if you need to do that, you need to use the "<echo>"
trick.

> -----Original Message-----
> From: Ross Cormier [mailto:ross.cormier@scgo.com]
> Subject: RE: How can I create a zero length file
> 
> I don't have the pleasure of working on a *nix, so touch 
> won't work [..]

Mime
View raw message