Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3778

Delete temporary files in TikaEvalCLI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.1
    • tika-eval
    • None

    Description

      The build tests of tika-eval-app leaves two xml files in the temp directory. The reason is that TikaEvalCLI copies a default xml config into the temp directory, and then calls FSBatchProcessCLI of tika-batch. That one calls System.exit() so no "finally" cleanup is done. I'm solving this by calling deleteOnExit().

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: