ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Set a property based on directory exists
Date Wed, 11 Dec 2002 23:09:14 GMT
<available property="in.test.environment"
           file="/home/httpd/html"
           type="dir" />

-----Original Message-----
From: Nathan Christiansen [mailto:Nathan_Christiansen@morinda.com] 
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message