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

Reply via email to