Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-450

Deletion of directory upon product ingestion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • crawler
    • None

    Description

      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.

      Attachments

        Activity

          People

            cinquini Luca Cinquini
            cinquini Luca Cinquini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: