<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]>

Reply via email to