I want to use NAnt's foreach to iterate files in a folder, how to force alphabetic iteration?

Posted by Duncan on Stack Overflow See other posts from Stack Overflow or by Duncan
Published on 2010-02-24T17:26:15Z Indexed on 2010/03/18 19:51 UTC
Read the original article Hit count: 414

Filed under:
|
|
|

I have an NAnt task "ship" to package my current .sql scripts into a build, then name the build with an incrementing int {######} and copy it to a build folder. I have another NAnt task which executes those build scripts. They must execute in order, but in my last attempt, they were not. Can I "force" NAnt to work alphabetically?

Thanks;

Duncan

© Stack Overflow or respective owner

Related posts about nant

Related posts about foreach