ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject Re: DirectoryScanner exclude subdirectories ?
Date Wed, 05 Oct 2005 18:24:50 GMT
>        String[] excludes = {"**\\**"};

Never use back-slashes. It's not portable.

To include only files and not dirs, you can use a <type> selector. The
only problem is that it probably twarts the smarts added by Antoine in
directory scanner to not scan the directories themselves. You end up
with the correct list of files, simply not as fast. --DD

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

View raw message