I'm using today's nightly build. I'm having a problem with the following code:
<property name="nant.settings.currentframework" value="net-1.0" />
<property name="IsNet1.0"
value="${string::contains('${nant.settings.currentframework}', 'net-1.0')}" />
<echo message="IsNet1.0: ${IsNet1.0} Current Framework: ${nant.settings.currentframework}" />
The output is:
[echo] IsNet1.0: False Current Framework: net-1.0
Obviously this is not correct. Is this a bug? Is there a better way to compare to strings for equality? I've also tried string::starts-with and get the same result.
Trane eBusiness
QED Team
Phone: 931-905-5386
Fax: 931-648-5901