ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Czekalski <>
Subject fileset not iterable
Date Sat, 03 Mar 2012 13:10:21 GMT
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().


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message