Re: Selectors not executed on Zipfileset

2021-03-15 Thread Stefan Bodewig
On 2021-03-15, Gilles Querret wrote: > I've used the selector in this example, but my use case is > in fact similar to the selector, where a comparison is > done on both the source file and the target file. I assume that this > is not possible within the restrict element ? You are right, you ca

Re: Selectors not executed on Zipfileset

2021-03-15 Thread Gilles Querret
On Sat, Mar 13, 2021 at 1:03 PM Stefan Bodewig wrote: > On 2021-03-08, Gilles Querret wrote: > > > I think I've found an issue with selectors which are not executed on > > Zipfileset. Here is a very small test case to reproduce the issue: > > The selectors that can be nested directly into a files

Re: Selectors not executed on Zipfileset

2021-03-13 Thread Stefan Bodewig
On 2021-03-08, Gilles Querret wrote: > I think I've found an issue with selectors which are not executed on > Zipfileset. Here is a very small test case to reproduce the issue: The selectors that can be nested directly into a fileset (and this into a zipfileset which inherits the behavior) are Fi

Re: Selectors not executed on Zipfileset

2021-03-09 Thread Gilles Querret
Hello, I've ran some tests and I confirm that selectors are not executed on ZipFilesets (at least in the copy task). Here is what happens: * In Copy.java:490 ( https://github.com/apache/ant/blob/master/src/main/org/apache/tools/ant/taskdefs/Copy.java#L490 ), a DirectoryScanner is created when usi