John,
You can use the "if" task
<if propertyexists="myProp">
<echo message="myProp Exists. Value='${myProp}'"/>
</if>
Yves
> -----Original Message-----
> From: John Bristowe [mailto:[EMAIL PROTECTED]]
> Sent: 08 November 2002 01:10
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Checking for Definition of a Property
>
>
> All,
>
> Makefiles allow me to check to see if a variable has been
> defined before setting its value. Can I do the same for
> properties with NAnt?
>
> Cheers,
>
> John
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users