https://issues.apache.org/bugzilla/show_bug.cgi?id=52829
Bug #: 52829 Summary: implement Iterable interface in FileSet and others Product: Ant Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: jarekc...@poczta.onet.pl Classification: Unclassified While script task is able to use the following syntax: for (f: fs) it is not possible for custom tasks written in java. Since a switch to Java5 all classes implementing iterator() should be declared as "implements Iterable". See the relevant java documentation: http://docs.oracle.com/javase/specs/jls/se5.0/html/statements.html#14.14.2 The idea is on the mailing list: http://mail-archives.apache.org/mod_mbox/ant-dev/201203.mbox/%3CCAE9L6G3-uLwA2EQV_mbdXtnZs_PYb_UMLB5iEX71N%2BqRb1C86g%40mail.gmail.com%3E and was accepted by Matt Benson. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.