0 votes
by (290 points)

Our app uses ant file patterns for selecting files, does the FileSet class support these or do we need to create our own descendent?

Looking at the help, it looks like it may do, with ** support, just wondering if it's intended to support any ant pattern?

1 Answer

0 votes
by (15.2k points)

Hello,

I am not sure what you mean by ant file patterns other than using '**' in the path. You can use this 'wildcard' in both Include and Exclued methods, as you probably read at our file set feature page. It serves recursive search and matching file or directory deep in directory tree based at path provided to the FileSet constructor. If it doesn't suite you, you can create your own descendent, of course. How to implement it, please read this file set forum post for the start. It implements fileset based on regular expression, but you should be able to rewrite it to any ant pattern support as you need.

...