actually I was looking for an easy way to take one FileSet and create another FileSet where everything was the opposite. I needed to pass these FileSets to other ant tasks. At any rate, I discovered a different method 5 seconds before your e-mail and just finished it. It is not as clean as a
FileSet normal;
FileSet inverse = normal.getInverseFileSet();
call, but I think it will do fine for now.
thanks,
dean


Stefan Bodewig wrote:

On Sun, 24 Aug 2003, Dean Hiller <[EMAIL PROTECTED]> wrote:



Writing an ant task and I want to take a FileSet and make it's
inverse.



What is the inverse of a FileSet?

The set of files that are not in the FileSet?  See the <not> selector
or the getNotIncludedFiles and getExcludedFiles methods in
DirectoryScanner.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to