These two Ant snippets do the same thing - include only *.min.js
files in the 'themes/advanced/js/' directory. Yeah, I thought it would be as easy to get Ant to do this as it sounded, but as you can see, it doesn't seem so.
The first snippet would suffice for most, but I dreamt of a solution that uses PCRE lookbehinds; thus the second snippet was born. The Mapper
and separate Copy
task required seems dumb, though.
I wonder how one would do it with make
...