Re: [NAnt-users] How to exit a foreach loop

2006-07-22 Thread Michael Craig
Since nobody has answered me on this I've decided to get creative. I'm currently testing this idea, but it seems to work for me.   Basically, I set a property within the loop. Once the condition is met where a I want to exit the loop (ie a build is needed), I set the value of ${build.needed} to t

[NAnt-users] How to exit a foreach loop

2006-07-18 Thread Michael Craig
How can I exist a loop?   I've tried the following:    and also:    But the loops keep running through all items.   Basically, I'm trying to loop through a bunch of Subversion URLs, and detect if a build is needed based on last commit revision vs my last build revision. But I can'