try it with double =, as below
<if test="${build.configuration=='release'}">
----- Original Message ----
From: Eric Fetzer <[EMAIL PROTECTED]>
To: Nant Users <[email protected]>
Sent: Tuesday, November 6, 2007 12:52:54 PM
Subject: [NAnt-users] <if test=
The code in the Help file for <if> doesn't work:
<if test="${build.configuration='release'}">
<echo>Build release configuration</echo>
</if>
This gives the error:
'}' expected
Expression: ${build.configuration='release'}
What is the correct syntax for this?
Thanks,
Eric
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users