ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <erikhatc...@earthlink.net>
Subject Re: Check if a directory exist?
Date Wed, 13 Jun 2001 15:12:32 GMT
<available file="c:/dir_name" property="dir.exists"/>

will set a property (to "true", or not) depending on whether the directory
specified in the 'file' attribute of the <available> task is present.

    Erik

----- Original Message -----
From: "Jérôme Lacoste" <jerome.lacoste@smartcardsystem.com>
To: "Ant User" <ant-user@jakarta.apache.org>
Sent: Wednesday, June 13, 2001 7:41 AM
Subject: Check if a directory exist?


> How can I check if a directory exists using Ant?
>
> Jerome


Mime
View raw message