Re: [NAnt-users] Using a property as a counter

2007-12-12 Thread Bob Archer
It happens. BTDT! BOb From: Ken Rogoway [mailto:[EMAIL PROTECTED] Sent: Tue 12/11/2007 6:11 PM To: Bob Archer; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Using a property as a counter I am an idiot. Please accept my humble apology. I was

Re: [NAnt-users] Using a property as a counter

2007-12-11 Thread Ken Rogoway
: [NAnt-users] Using a property as a counter Parameters overwrite by default. Here is a quick build file I tested this with. Perhaps your if test isn't working. Throw an echo in it and see if it displays as many times as you are expecting. -Ori

Re: [NAnt-users] Using a property as a counter

2007-12-11 Thread Bob Archer
27 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Using a property as a counter I want to count the number of times a particular test is true. I have the following Nant script snippet: There were ${WarningCounter} warnings. I always g

Re: [NAnt-users] Using a property as a counter

2007-12-11 Thread Guy Metz
bject: [NAnt-users] Using a property as a counter I want to count the number of times a particular test is true. I have the following Nant script snippet: There were ${WarningCounter} warnings. I always get 1 for the warning counter, ev

Re: [NAnt-users] Using a property as a counter

2007-12-11 Thread Ken Rogoway
, 2007 3:59 PM To: Ken Rogoway; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Using a property as a counter There were ${WarningCounter} warnings. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

[NAnt-users] Using a property as a counter

2007-12-11 Thread Ken Rogoway
I want to count the number of times a particular test is true. I have the following Nant script snippet: There were ${WarningCounter} warnings. I always get 1 for the warning counter, even if there is more than one line in the file with