<echo message="fistblabla" file="${project_dir}\somefile.txt"
append="false"/>
<echo message="nextblabla" file="${project_dir}\somefile.txt"
append="true"/>
Bonio Lopez wrote:
> Hi all,
> how do I write into a text file using nant?
> (use of <script> seems to be an overkill)
> Following code writes into standard output instead of into a file, no idea
> why.
>
> <exec
> program="echo"
> commandline="#blablablanalan"
> output="${project_dir}\somefile.txt"
> append="false"
> />
>
> <exec
> program="echo"
> commandline="otherblabla"
> output="${project_dir}\somefile.txt"
> append="true"
> />
>
>
>
> 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
> [email protected]
> 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&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users