----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 9:32 AM
Subject: Write to file?
> Hi everybody!
>
> Is is possible to write to a file or do I have to write my own "taskdef".
>
Depends on how and what you would like to write to that file. If it's simple
ASCII you can use
<echo message="My Content" file="myfile.txt"/>
or
<echo file="myfile.txt">Now I would like to write more than
one
line
to
the
file
</echo>
or even
<echo file="myfile.txt" message="Now I would like to write more than"/>
<echo file="myfile.txt" message="one" append="yes"/>
<echo file="myfile.txt" message="line" append="yes"/>
<echo file="myfile.txt" message="to" append="yes"/>
<echo file="myfile.txt" message="the" append="yes"/>
<echo file="myfile.txt" message="file" append="yes"/>
Nico