Chris, Try this syntax: <target name="CalculateBuildNum" description="Calculates the build
number"
if="${build.buildNum
== 'Latest'}"> Cheers, Bill From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Holt I have a task defined like: <target name="CalculateBuildNum" description="Calculates the build
number"
if="'${build.buildNum}'
== 'Latest'"> This fails with
an error like: Cannot resolve expanded value ''Latest' == 'Latest''
of 'if' attribute to a Booean value. What am I doing wrong? Thanks, Chris |
- [NAnt-users] Error when trying to compare equality of string Chris Holt
- RE: [NAnt-users] Error when trying to compare equality of... Bill Martin