You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mario Madunic <ha...@imag.net> on 2007/08/03 00:12:52 UTC
iterate through files
(Running Ant from a bat file triggered by a directory watching app.)
Is is possible to iterate through a directory of files (that can have files
added while the task is running), one at a time before running the task again?
In other words I want to grab a single file parse it with an Ant task, delete
it, and then start all over again till the directory is empty. Each run through
the task takes about 5 seconds and don't want any collision between files (there
are multiple XSLT tasks ending in one of 2 BCP inserts into a SQL Server). Using
a scheduled task is a last resort.
Any help will be greatly appreciated.
Thanks
Marijan (Mario) Madunic
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org