Not able to delete a file using ant task delete dir="XXX"
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chander_kumar
Posted On:   Wednesday, September 6, 2006 05:15 AM

I am trying to delete a whole folder using , but a file present under this folder is not getting deleted due to some process acting on the file, hence the whole task fails.

Even tried with syntax given below:



Is there any provision given to over come this issue?

-Chander

Re: Not able to delete a file using ant task delete dir="XXX"

Posted By:   Daniel_Baylon  
Posted On:   Thursday, September 7, 2006 05:40 PM


It looks like other process is using the file which is included in directory to be deleted.




If that's true, then stop process that use file, and then apply delete task again.




Regards.

About | Sitemap | Contact