ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
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...


----- Original Message ----- 
  From: Jason Rosenberg 
  To: ; 
  Sent: Sunday, December 24, 2000 8:06 AM
  Subject: How to check for empty directory


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

  Any ideas?

View raw message