ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Cormier <ross.corm...@scgo.com>
Subject RE: How can I create a zero length file
Date Fri, 07 Sep 2001 16:02:53 GMT
I don't have the pleasure of working on a *nix, so touch won't work, but
this one will.

Thanks much!!

Ross

> -----Original Message-----
> From: Erik Hatcher [mailto:erikhatcher@earthlink.net]
> Sent: Friday, September 07, 2001 10: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