FYI: the example is now fixed in CVS. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Curtis Zarger
Sent: dinsdag 6 november 2007 19:27
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] <if test=

try it with double =, as below

<if test="${build.configuration=='release'}">

----- Original Message ----
From: Eric Fetzer <[EMAIL PROTECTED]>
To: Nant Users <nant-users@lists.sourceforge.net>
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
NAnt-users@lists.sourceforge.net
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
NAnt-users@lists.sourceforge.net
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
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to