Hi all

When I was scripting in ant, I could write

for (f: fs)

where fs is a FileSet. But after switching to ant tasks in java, it is no longer available. I get a compile error:

foreach not applicable to expression type

I guess it's pretty easy to just write FileSet implements Iterable, but have not tried it in the source. If it is really easy, then I suggest adding it to all methods returning iterator().

Regards
Jarek


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to