When I do a simple delete of the contents of a folder, I get an error:
<delete includeemptydirs="true">
<fileset dir="${developmentenvironment.www.dir}" includes="**/*"/>
</delete>
C:\Users\...\build.xml:42: Unable to delete file C:\...\www\appserv\AUTHORS.txt
When, I try to delete the file in the OS, it requires elevated permissions.
I also can't get a UAC prompt by doing this:
<exec executable="cmd">
<arg value="/c del ./*.*"/>
</exec>
Can ANT prompt for elevated UAC permissions when using the delete task?