ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Vervelle <>
Subject Executing a task in each subdirectory
Date Wed, 23 Mar 2005 11:05:03 GMT

I have a directory tree where each directory can contains files named in 
the form index.*.html. (* represents the code for a language: en, fr, ...)
Each index.*.html contains lines in the form <*>text</*>.
For each directory, I would like to :
- remove the <*>text</*> in each file if index.*.html is absent in the 
directory, an
- replace the <*>text</*> in each file by text if index.*.html is 
present in the directory.

Anyone has an idea on how to do this ?
My main problem is taking each directory (and subdirectory) one after an 


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

View raw message