Kevin, I think you need to change:
if=... = 'debug' to: if=... == 'debug' That is, double the equal sign. HTH, Felice -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burton, Kevin Sent: Thursday, July 29, 2004 12:05 PM To: [EMAIL PROTECTED] Subject: [Nant-users] <if> not evaluated? The output for the build looks like: Buildfile: file:///D:/Projects/Visa/MR0804/Application Server Code/ErrorLog/default.build Target(s) specified: build build: Build succeeded Total time: 0 seconds. The <if> task looks like: <if test="${property::exists(project.config) and string::to-lower(project.config) = 'debug'}" verbose="true"> <echo message="Building DEBUG ErrorLog..."/> <csc target="library" output="${build.dir}/ErrorLog.dll"> <arg value="/define:USEKEYCONTAINER" /> <arg value="/define:DEBUG" /> <arg value="/define:TRACE" /> <sources> <include name="*.cs"/> </sources> <resources dynamixprefix="true" prefix="ErrorLog"> <include name="*.resx" /> </resources> <references basedir="${build.dir}" /> </csc> </if> But it is as if the <if> evaluates to false. I know that there is a project.config property. What am I doing wrong? Thank you. Kevin Burton [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users