[ 
https://issues.apache.org/jira/browse/OODT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luca Cinquini resolved OODT-450.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.5)
                   0.4

Fixed, should maintain backward compatibility with the case the product is NOT 
a directory.
                
> Deletion of directory upon product ingestion
> --------------------------------------------
>
>                 Key: OODT-450
>                 URL: https://issues.apache.org/jira/browse/OODT-450
>             Project: OODT
>          Issue Type: Improvement
>          Components: crawler
>    Affects Versions: 0.3
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.4
>
>
> Upon successful ingestion, the crawler action 
> org.apache.oodt.cas.crawl.action.DeleteFile will correctly delete a product 
> file, but will fail to delete a product directory if the directory is not 
> empty. It is suggested that we check for this condition and invoke:
> FileUtils.deleteDirectory(fileToDelete)
> to recursively delete the directory and all its content.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to