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

Tilman Hausherr updated TIKA-3778:
----------------------------------
    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(){}}}.  (was: 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(){}}}.)

> 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 "finally" cleanup is done. I'm solving this by 
> calling {{{}deleteOnExit(){}}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to