On 25 Sep 2001, Matthew Inger <[EMAIL PROTECTED]> wrote:

> I think that not guaranteeing the order of
> a foreach task is a very bad thing.

My advice comes from a discussion with Peter Vogel, Roger Vaughn and
Jose Alberto Fernandez on this list - about three or four months ago.
It seemed to fit nicely into Ant's declarative approach as it
parallels SQL's select instead of Perl's foreach - and I still like it
better that way 8-).  Anyway, it's just an advice.

Most "foreach" tasks I've seen so far iterate over a <fileset>, as Ant
doesn't guarantee the order by which the files in the fileset will be
returned (it is platform and probably even JVM dependent), any
guarantee for the task would be quite weak.

Stefan

Reply via email to