ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 32526] Add "whenempty" attribute to <fileset>
Date Tue, 24 Feb 2009 15:53:27 GMT

--- Comment #10 from Mike Cepek <>  2009-02-24 07:53:24 PST ---
Again, counting the number of files is _not_ an adequate solution to this
problem.  As previously mentioned, it is too brittle to be adopted by our team.

Note that checking against "zero files matched" doesn't help, because getting
only 2 of 3 expected files, for example, should still be an error.

Feel free to review my Ant example in comment #2 of this bug item.  That is our
use case.  If any of the files explicitly named don't exist, the tar (or
tarfileset) needs to fail.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message