ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Blot" <>
Subject mkdir and rmdir / Windows
Date Fri, 30 Jun 2000 09:56:11 GMT

I think there is something to improve with ANT when it runs on Windows ;^( :
Whenever it tries to remove a directory that is 'busy' by any other application, the removal
failed (that is ok), but ANT does not
detect this failure.
Then, whenever it tries to (re)create the same directory, it failed (that is ok) because the
directory already exists (since it
has not been deleted). At this point, ANT bails out.

It think the best (as Windows is really a stupid thing) is to detect, whenever a directory
creation failed, if this directory does
already exist, and to skip the failure in this case.
Or, to bail out whenever a directory removal fails.


View raw message