<loopthrough>

Much like the foreach task but yet there are for item types that can be looped through. As well new loopitems can easily be created.

Parameters

Attribute Type Description Required
propertystringThe name of the NAnt property to set.True
failonerrorboolDetermines if task failure stops the build, or is just reported. The default is true.False
ifboolIf true then the task will be executed; otherwise, skipped. The default is true.False
unlessboolOpposite of if. If false then the task will be executed; otherwise, skipped. The default is false.False
verboseboolDetermines whether the task should report detailed build log messages. The default is false.False

Nested Elements:

<items>

The value on the property is provided by the inner text of the xml node.

</items>

Examples

i.

 
nant.loopthrough.txt · Last modified: 2006/04/07 19:59 by jflowers
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki