Re: How to echo the empty directories of a fileset ?

2010-05-13 Thread Matt Benson
On May 13, 2010, at 12:48 PM, Bruno Medeiros wrote: Hello. If I do something like this: and projects.dir has some empty directories, then those directories will be copied to destination.dir . Is this normal behavior?

RE: How to echo the empty directories of a fileset ?

2010-05-13 Thread Mario Madunic
Isn't there a new task named resourcecount. Maybe you could use this in conjunction with a test and if the resourcecount is 0 then echo it is empty. Or am I missing what you are trying to do? Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Br

How to echo the empty directories of a fileset ?

2010-05-13 Thread Bruno Medeiros
Hello. If I do something like this: and projects.dir has some empty directories, then those directories will be copied to destination.dir . Is this normal behavior? (It seems strange to me that a fileset would contain em

Re: Looping number of times

2010-05-13 Thread Peter Reilly
There is a bug with the task. It is unable to handle begin and end being the same. I cannot push a fix, since I forgot my ant-contrib username/password. Here is a patch: Index: src/main/java/net/sf/antcontrib/logic/ForTask.java ===