Flex,

Generating text based files is actually pretty easy. Take a look at the
echo task (specifically redirecting the output to a file). See
http://nant.sourceforge.net/release/latest/help/tasks/echo.html for
details.

If the file in question is XML based, there are also the XMLPeek
(http://nant.sourceforge.net/release/latest/help/tasks/xmlpeek.html) and
XMLPoke
(http://nant.sourceforge.net/release/latest/help/tasks/xmlpoke.html)
tasks.

Binary data is another thing completely, but my recommendation would be
to avoid that like the plague!

Regards,
Richard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flex
Sent: Wednesday, April 19, 2006 10:02
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] File operations

Hi guys,
(please, don't beat me)

While waiting for monad to become more useful and to drop the stupid bat
files I run (by complete accident) to NANT. Well... first glance -
amazed, second glance - in love and so on. However I was not able to
find something vital in the help and asking in case I have overlooked...

file contents management. There are functions for folders, files, but
not the data inside, i.e. I can't get the file version, open some other
file and update it on some line, I can't generate files at runtime which
makes no fun. Please tell me I just missed them :)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to