ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Dirset selectors?
Date Tue, 28 Oct 2003 23:05:37 GMT
> From: Adam Mlodzinski []
> >> I can't figure out how to get a dirset of directories which
> >> contain a specific file.
> I ended up using
> <dirset dir="src" >
>   <contains text="" />
> </dirset>

Whoa, I would never have thought of that! Actually 'reading' the content of
the directory file... I'm not sure it's very portable. Did you test that on
more than one platform, like win32 or MacOsX? I'm guessing it worked for
you on a flavor of *nix!?!? --DD

PS: I'd provide a 'better' solution if I had one... Not to deprecate your
    solution in any way, which might turn out to be X-platform!

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

View raw message