You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mansour Al Akeel <ma...@gmail.com> on 2012/02/07 11:51:01 UTC

selecting directories with child files

I need to select directories that contains "META-INF/ejb-jar.xml"
I am using dirset:

<dirset dir="root">
<include name="**/build/*" />
here I need to set up a condition that only directory containing
META-INF/ejb-jar.xml are selected.
</dirset>

for example
module1/build/module1/META-INF/ejb-jar.xml
module2/build/module2/META-INF/ejb-jar.xml

I need the dirset to contain module1/build/module1 and module2/build/module2

Thank you.