[
https://issues.apache.org/jira/browse/LUCENE-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986887#action_12986887
]
Shai Erera commented on LUCENE-929:
-----------------------------------
yes you're right :). If the target exists, the code should fail - we're not
supposed to call it from Ant anyway, and so if it's indeed called, it may
discover a bug in the build.xml, and if it's called by a standalone program, I
think it'd be better to fail so as to indicate the caller that the dir exists -
maybe he'll want to delete and re-create it.
> contrib/benchmark build doesn't handle checking if content is properly
> extracted
> --------------------------------------------------------------------------------
>
> Key: LUCENE-929
> URL: https://issues.apache.org/jira/browse/LUCENE-929
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/benchmark
> Reporter: Grant Ingersoll
> Priority: Minor
>
> The contrib/benchmark build does not properly handle checking to see if the
> content (such as Reuters coll.) is properly extracted. It only checks to see
> if the directory exists. Thus, it is possible that the directory gets
> created and the extraction fails. Then, the next time it is run, it skips
> the extraction part and tries to continue on running the benchmark.
> The workaround is to manually delete the extraction directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]