On Friday November 25, 2005 09:03 am, "Andrei" <[EMAIL PROTECTED]> 
wrote:
> Does any body know an ant task which verifies if a directory
> exists?

<available/> is the task you are looking for.

<http://ant.apache.org/manual/CoreTasks/available.html>

For example:

  <available file="some-dir-name" 
             type="dir"
             property="some-dir.available"/>
  <fail unless="some-dir.available"/>

- Rob

-- 
This is not an automated signature.
I type this in at the bottom of every message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to