RE: Build fail for tests

2012-09-04 Thread Chris Hostetter
: The problem is that you have an older jUnit version in your : $ANT_HOME/lib or ~/.ant/lib classpath. Please use a freshly and clean : installed ANT version (not one from your Linux distribution, those are : often cluttered with outdated stuff). Lucene needs no such libraries : like JUnit in

Re: Build fail for tests

2012-09-04 Thread Robert Muir
On Tue, Sep 4, 2012 at 3:01 PM, Chris Hostetter hossman_luc...@fucit.org wrote: It occurs to me: can't we detect this early in the build and fail fast? We dynamicly load junit from the ivy lib when we need it, but couldn't the init target use available/ to check if junit is already defined

Re: Build fail for tests

2012-09-03 Thread Dawid Weiss
D:\workspace\lucene-trunk\lucene\common-build.xml:741: At least JUnit version 4.10 is required on junit4's taskdef classpath. Does anyone know what can cause this? Yes. You need JUnit 4.10 or later on classpath where junit4 is defined. Exactly what it says above. If you share your

RE: Build fail for tests

2012-09-03 Thread Uwe Schindler
Hi, The problem is that you have an older jUnit version in your $ANT_HOME/lib or ~/.ant/lib classpath. Please use a freshly and clean installed ANT version (not one from your Linux distribution, those are often cluttered with outdated stuff). Lucene needs no such libraries like JUnit in

Re: Build fail for tests

2012-09-03 Thread Dawid Weiss
Yep, this may also be the reason, thanks Uwe. Dawid On Mon, Sep 3, 2012 at 10:33 AM, Uwe Schindler u...@thetaphi.de wrote: Hi, The problem is that you have an older jUnit version in your $ANT_HOME/lib or ~/.ant/lib classpath. Please use a freshly and clean installed ANT version (not one

Re: Build fail for tests

2012-09-03 Thread Sivan Yogev
Thanks David and Uwe, a clean ant installation did the work. Sivan On Mon, Sep 3, 2012 at 11:41 AM, Dawid Weiss dawid.we...@cs.put.poznan.plwrote: Yep, this may also be the reason, thanks Uwe. Dawid On Mon, Sep 3, 2012 at 10:33 AM, Uwe Schindler u...@thetaphi.de wrote: Hi, The