ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Newbie question: How do I check if a file or folder exists?
Date Thu, 10 Jul 2003 10:58:09 GMT
The quickest which comes to my mind is via <script> and
java.io.File.exists().
But why? I have never needed that. <mkdir> doesn´t create the dir silently,
if 
that already exists and other tasks create needed directories or files.


Jan

> -----Original Message-----
> From: Daniel Joshua [mailto:daniel.joshua@gridnode.com]
> Sent: Thursday, July 10, 2003 12:54 PM
> To: 'Ant Users List'
> Subject: Newbie question: How do I check if a file or folder exists?
> 
> 
> Hi all,
> 
> Sorry for this newbie question, but I really could not figure 
> this out...
> 
> How do I check if a file or folder exists?
> 
> 
> Regards,
> Daniel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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