ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
Subject Re: Check directory exists
Date Fri, 30 Sep 2005 19:51:09 GMT
just run <mkdir>; it won't post an error if the directory already exists

-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)




João Augusto Charnet <joao.charnet@sfw.com.br> 
09/30/2005 06:36 PM
Please respond to
"Ant Users List"


To
Ant Users List <user@ant.apache.org>
cc

Subject
Check directory exists






Hello.
Is is possible to check if a given directory exists through ant?
I have a task that compiles some java files, and I'd like to check if the 
directory passed to the javac exists before running javac.
Any ideas ?

Thanks a lot.
John
-- 
Softway & Softcomex 
João Augusto Charnet
Computer Engineer - R&D Team

Phone/Fax: 55 19 3739-9261
E-mail: joao.charnet@sfw.com.br 
R. Conceicao, 233 - Cj, 609 - Centro
13010-050 - Campinas - SP - Brazil


Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message