I am an idiot. Please accept my humble apology.
I was restting the counter to 0 inside my foreach loop. DOH!
- K
-Original Message-
From: Bob Archer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 4:42 PM
To: Ken Rogoway; nant-users@lists.sourceforge.net
Subject: RE: [NAn
The isn't really required... unless you have an fileset.
BOb
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guy Metz
Sent: Tuesday, December 11, 2007 5:14 PM
To: 'Ken Rogoway'; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Using a propert
Is the syntax you sent exactly what you have in the file. Shouldn't the if
task be a child of the Do element?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Rogoway
Sent: Tuesday, December 11, 2007 4:27 PM
To: nant-users@lists.sourceforge.net
Subject:
I tried this and it still has the same behavior. WarningCounter gets bumped
to 1, but never increments after that.
Is there an overwrite param or something that is needed for the property?
- K
-Original Message-
From: Bob Archer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2
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