ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject selecting directories with child files
Date Tue, 07 Feb 2012 10:51:01 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message