Matthew Mastracci wrote:
Are there any objections to this patch? It's burning a hole in my HD waiting to get checked in. :) If there aren't any objections, I'll drop it in and start work on my next item.


none from me.


Ian
Matthew Mastracci wrote:

This patch adds the following functionality to the <foreach> element:
- multiple delimiters are allowed
- multiple properties are allowing the item="Line" case, but only if delimiter(s) are specified
- trim="" property allows you to specify trimming whitespace from begin, end or both parts of a string


You can now do this (using Scott's example):

<foreach item="Line" in="properties.csv" trim="both" delim="," property="x,y">
<property name="${x}" value="${y}"/>
</foreach>


where properties.cvs is
prop1, value





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to