> Can I use regular expressions to match files in the ant FileSet task?
> Can anyone provide an example? I'm trying to do this within the
> context of a Copy task.
The ant documentation contains an example:
http://ant.apache.org/manual/CoreTypes/mapper.html
See also the copy task docs: http://ant.apache.org/manual/CoreTasks/copy.html
Note that the jar that provides the regexp functionality must be loaded by the
same classloader as the rest of the ant system. (Usually this is the case, if
you have the jar in ant's lib.)
Ville Oikarinen