On 9/1/05, Kevin Kirkpatrick <[EMAIL PROTECTED]> wrote:
> I'm trying to use the nant if condition to act on the value of a property. 
> 
> <if test = "MSENT " == "${app.being.built} 
> 
> Is this allowed? Or are there other methods to do that? 

Kevin,

The expression syntax is documented in the NAnt help
http://nant.sourceforge.net/release/latest/help/fundamentals/expressions.html#expression-syntax

The syntax you are after looks like:

<if test="${app.being.built == 'MSENT'}">...</if>


-- 
Troy


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to