[ 
https://issues.apache.org/jira/browse/LUCENE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747578#action_12747578
 ] 

Michael McCandless commented on LUCENE-1845:
--------------------------------------------

For some reason I get hunk #3 failing when I try to apply the patch:

{noformat}
Hunk #3 FAILED at 66.
1 out of 3 hunks FAILED -- saving rejects to file contrib/db/bdb/build.xml.rej
{noformat}

But the approach sounds good.  So if "ant nightly" is the target, and it fails 
to download the JAR, it'll just warn and continue.  But if it's any other 
target, it'll fail.

OK, I'll commit the toplevel build.xml changes shortly.  They are fully 
independent (just sets the "nightly" property).

> if the build fails to download JARs for contrib/db, just skip its tests
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-1845
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1845
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Simon Willnauer
>            Priority: Minor
>         Attachments: LUCENE-1845.patch, LUCENE-1845.txt, LUCENE-1845.txt, 
> LUCENE-1845.txt, LUCENE-1845.txt
>
>
> Every so often our nightly build fails because contrib/db is unable to 
> download the necessary BDB JARs from http://downloads.osafoundation.org.  I 
> think in such cases we should simply skip contrib/db's tests, if it's the 
> nightly build that's running, since it's a false positive failure.

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to