ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fermin Da Costa Gomez <>
Subject Counting files in a dir
Date Tue, 05 Apr 2005 01:16:02 GMT

What would be the best way to do the following:
1. Going into a directory (this is ok)
2. Counting the number of files of type x (getting files is ok, *counting* is an 
3. Depending on the count do something (break out of the target)

Items 2. and 3. are bugging me somewhat (esp the counting bit in 2).
Does anybody have a suggestion as to how i can accomplish this?


Fermin DCG

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message