If I run “sudo ant” from command line, the ant task is able to erase existing directories without any problems.
If I run ant via the Eclipse ant view then it gives errors that it doesn’t have the permissions. Is there any way to mimic the sudo command I can do from commandline?
Sounds like you just need to get the permissions right on the folders.