ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swart, James (James) ** CTR **" <swa...@agere.com>
Subject RE: How can I create a zero length file
Date Fri, 07 Sep 2001 15:58:03 GMT
In case you can't get that to work, in DOS you can do "copy con filename"
then "CTRL-Z" and press enter.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jim Swart
Agere Systems - Colorado Design Center
Site Systems Administrator & IT Focal Point
(Boulder, Longmont, Westminster & Denver)

INTERNAL WEB:  http://coloradoit.agere.com
	  VOICE:  (720) 494-2330
	      FAX:  (720) 494-2331
      SITE ADMIN:  (720) 494-2456
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: Erik Hatcher [mailto:erikhatcher@earthlink.net]
Sent: Friday, September 07, 2001 9:51 AM
To: ant-user@jakarta.apache.org
Subject: Re: How can I create a zero length file


This seemed to do the trick for me:

    <echo message="" file="emptyfile.dat"/>



----- Original Message ----- 
From: "Ross Cormier" <ross.cormier@scgo.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, September 07, 2001 8:46 AM
Subject: How can I create a zero length file


> The subject says it all.  
> 
> How can I use ant to create a zero length file?
> 
> Is it possible to truncate a file?
> 
> Thanks in advance,
> Ross

Mime
View raw message