You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nathan Christiansen <Na...@morinda.com> on 2002/12/12 00:07:23 UTC

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

-- Nathan Christiansen
   Morinda, Inc.
   http://www.tahitiannoni.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>