Kevin,
First <if test="${directory::exists('${build.dir}/ConsumerWeb/bin')}" > you need only one enclosing ${ ... }. Next, because you have only one enclosing ${ ... }, EVERYTHING inside it will be evaluated as either a function or a property name unless quotes. But, '/ConsumerWeb/bin' is a literal string. So you need <if test="${directory::exists(build.dir + '/ConsumerWeb/bin')}" > so that "build.dir" inside the ${ ... } get expanded as a property name, then concatenated (the "+" operator) with the literal string '/ConsumerWeb/bin', with the whole thing then fed to the directory::exists() function. Merrill ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users