Creating dirset that includes the subfolders of the folders
I have a property called source-locations and it contains a comma separated list of folders where source code can be found.

        source-locations=src,other_src_dir,yet_another_dir

In one of my ant tasks I use a dirset like this:

        <dirset dir="${basedir}" includes="${source-locations}"/>

My problem is that in this case only the directories listed in the source-locations property will be part of the dirset and I need all the subdirectories of those directories as well. How can I accomplish this?

Any input is appreciated! Thanks!
Creating dirset that includes the subfolders of the folders
===

I have a property called source-locations and it contains a comma separated list of folders where source code can be found.

        source-locations=src,other_src_dir,yet_another_dir

In one of my ant tasks I use a dirset like this:

        <dirset dir="${basedir}" includes="${source-locations}"/>

My problem is that in this case only the directories listed in the source-locations property will be part of the dirset and I need all the subdirectories of those directories as well. How can I accomplish this?

Any input is appreciated! Thanks!