You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2022/05/28 10:29:00 UTC
[jira] [Resolved] (TIKA-3778) Delete temporary files in TikaEvalCLI
[ https://issues.apache.org/jira/browse/TIKA-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved TIKA-3778.
-----------------------------------
Resolution: Fixed
> Delete temporary files in TikaEvalCLI
> -------------------------------------
>
> Key: TIKA-3778
> URL: https://issues.apache.org/jira/browse/TIKA-3778
> Project: Tika
> Issue Type: Improvement
> Components: tika-eval
> Affects Versions: 2.4.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.4.1
>
>
> 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 cleanup is done. I'm solving this by calling {{{}deleteOnExit(){}}}.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)