[ 
http://jira.codehaus.org/browse/MRM-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maria Catherine Tan updated MRM-1461:
-------------------------------------

    Attachment: MRM-1461.patch

Attached patch
* created a FileUtil class to delete the directory gracefully.
** it will continue to delete the rest of the files even if it encountered a 
locked file or any file that it can't delete and will throw an IOException at 
the end 
* replaced FileUtils.deleteDirectory with this class

> Delete repositories gracefully
> ------------------------------
>
>                 Key: MRM-1461
>                 URL: http://jira.codehaus.org/browse/MRM-1461
>             Project: Archiva
>          Issue Type: Improvement
>            Reporter: Maria Catherine Tan
>         Attachments: MRM-1461.patch
>
>
> When deleting a repositories encountered a locked file or an nfs file, it 
> should skip it and proceed to deleting the rest of the file instead of 
> throwing an IOException immediately.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to