Oh, that is what the <available> task is about. (How embarrassing.) Thanks.
-----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:09 PM To: 'Ant Users List' Subject: RE: Set a property based on directory exists <available property="in.test.environment" file="/home/httpd/html" type="dir" /> -----Original Message----- From: Nathan Christiansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 5:07 PM To: Ant Users List Subject: Set a property based on directory exists I am looking for a way to set a property based on wether a specified directory exists. Psudeocode: <[If the directory "/home/httpd/html" exists]> <property name="in.test.environment" value="true" /> </[If statement]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>