On Tue, 19 Oct 2004, Felice Vittoria wrote:
<?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.
Try:
<property name="rootdir" value="null" unless="${property::exists('rootdir')}" />
------------------------------------------------------- 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