cellio: (avatar)
[personal profile] cellio
I just wrote an ant target to call a bat file to loop over all files of a given type and call a different bat file. (This last bat file doesn't understand wildcards, and it's commercial software so I'm loathe to hack at it.)

I feel dirty.

(I couldn't figure out how to write the loop within the body of the ant target, which would clearly be better.)

(no subject)

Date: 2005-03-03 10:37 pm (UTC)
From: [identity profile] dvarin.livejournal.com
You can't loop naturally in ant. When Elias was wanting to do that sort of thing in writing the buildfiles, he had to write a java plugin to ant to do it for him.

I don't think ant has any list functions either, so you can't loop by recursion.

(no subject)

Date: 2005-03-04 02:04 pm (UTC)
From: [identity profile] magid.livejournal.com
Not knowing anything about programming, this sounds darned funny. I don't think most bats eat ans...

Expand Cut Tags

No cut tags