Luca Cinquini created OODT-450:
----------------------------------

             Summary: 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
             Fix For: 0.4


Upon successful, 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