ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: How to check for empty directory
Date Sun, 24 Dec 2000 10:47:14 GMT
Maybe you can use a fileset (including all files in this dir) and a script-task to test if
the included files are "0"? 

Don't have used something like this, just an idea...

Nico

----- Original Message ----- 
  From: Jason Rosenberg 
  To: ant-user@jakarta.apache.org ; ant-dev@jakarta.apache.org 
  Sent: Sunday, December 24, 2000 8:06 AM
  Subject: How to check for empty directory


  Hello,

  I have been trying to figure out a way to detect
  using the Ant basics, whether a directory is empty.

  Any ideas?

Mime
View raw message