[ 
https://issues.apache.org/jira/browse/TIKA-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543453#comment-17543453
 ] 

Hudson commented on TIKA-3778:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #616 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/616/])
TIKA-3778: lazy delete of temp xml config files (tilman: 
[https://github.com/apache/tika/commit/8cec5bb4254dd8d7dff42d9dd23b46ca8b4714a2])
* (edit) 
tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/TikaEvalCLI.java


> 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