Hi Adrian,

Take a look at the foreach task and see if it fits your requirements

http://nant.sourceforge.net/release/latest/help/tasks/foreach.html

"Loops over lines in the file properties.csv, where each line is of
the format name,value.

<foreach item="Line" in="properties.csv" delim="," property="x,y">
    <echo message="Read pair ${x}=${y}" />
</foreach>"

Might also be worth taking a look at the loadfile and regex tasks.  

http://nant.sourceforge.net/release/latest/help/tasks/loadfile.html
http://nant.sourceforge.net/release/latest/help/tasks/regex.html

Rgds,

Matt.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to