Hello folks, I'm using the latest version of NAnt: NAnt 0.85 (Build 0.85.1753.0; net-1.0.win32; nightly; 10/19/2004)
I have this simple test build file: <?xml version="1.0"?> <project name="test" default="display"> <target name="display"> <property name="rootdir" value="null" unless="${property::exists(rootdir)}" /> <echo message="rootdir = ${rootdir}" /> </target> </project> When I run this file I will get the following: Property evaluation failed. Expression: ${property::exists(rootdir)} ^^^^^^^ Property 'rootdir' has not been set. Is this correct? What I'm trying to do is set a property if it doesn't exist. Felice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users