When this Ant target runs, it takes over 30 minutes to complete on a directory with only ~2k files.
<target name="makewritable">
<attrib readonly="false">
<fileset dir="${somedir}">
</attrib>
</target>
I thought something was horribly wrong until I turned on verbose for the entire file and saw
[attrib] Executing 'attrib' with arguments:"
[attrib] '-R'
[attrib] 'C:\some\path\to\somedir\files.ext'
[attrib]
[attrib] The ' characters around the executable and arguments are
[attrib] not part of the command.
popping up only about once per second and doing this for each file in somedir. I even tried this with includes and excludes with no noticeable difference.
My question is... Are any of you having different results than this? If so, do you know what might cause this to speed up or slow down? I can't imagine this speed of execution is intended by Apache.
Additional Info: Using Ant version 1.8.0 on a Windows 7 OS