John, Not sure if this is right (it is Friday afternoon, after all), but you might want to try the following:
<if test="${core.project.stub==sql.test}" > Basically, in the test itself and also in "if" and "unless" clauses, try only using one set of "${ ... }" operations. Regards, Richard -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 20, 2006 17:11 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Comparing the string values of two properties This seems like it should be fairly simple, but i cant get it to work. I have two properties and i want to test to see if their string values are the same. i've tried many, many combinations, such as the following: <if test="${property::get-value(core.project.stub)} == ${property::get-value(sql.test)}" > <if test="${core.project.stub} == ${sql.test}" > <if test="string::contains(${core.project.stub}, ${sql.test})" > can someone help me? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users