<if test="${deployErrors} > 0"> <fail message="MSDeploy failed" /> </if>
${deployErrors} populated from the regular expression capture group and has either a numeric value or an empty string. How to check if it is more than 0 in NAnt if block? Here's the error I get if deployment errors contain "1"
'1> 0' is not a valid value for the attribute 'test' of. Cannot resolve '1> 0' for boolean value. The string was not recognized as a valid boolean.
source share