Or more correctly:

 

unless=”${thisConfig = ‘clean’}”

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Archer
Sent: Tuesday, August 22, 2006 12:01 PM
To: Robert Hanson; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] exec with unless

 

The exec task has an if and unless attribute…

 

Unless=${thisConfig = ‘clean’}

 

BOb

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hanson
Sent: Tuesday, August 22, 2006 11:28 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] exec with unless

 

What is the syntax I need here?  I want to exec a task unless a property has a certain value.

 

<exec verbose="true" program="${__ide.dir}\devenv.com " commandline="&quot;${solution}&quot; /build ${thisConfig} /out &quot;c:\temp\LogFile&quot;" />

 

but I want to do so only if $(thisConfig) is not “clean”

 

Thanks in advance.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to