Thanks David and Uwe, a clean ant installation did the work. Sivan
On Mon, Sep 3, 2012 at 11:41 AM, Dawid Weiss <[email protected]>wrote: > Yep, this may also be the reason, thanks Uwe. > > Dawid > > On Mon, Sep 3, 2012 at 10:33 AM, Uwe Schindler <[email protected]> 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 from your Linux distribution, those are often cluttered with > > outdated stuff). Lucene needs no such libraries like JUnit in classpath, > as > > it downloads then via IVY automatically and uses it locally. But if there > > are old versions already in the classpath, it cannot do anything. > > > > > > > > Uwe > > > > > > > > ----- > > > > Uwe Schindler > > > > H.-H.-Meier-Allee 63, D-28213 Bremen > > > > http://www.thetaphi.de > > > > eMail: [email protected] > > > > > > > > From: Sivan Yogev [mailto:[email protected]] > > Sent: Monday, September 03, 2012 10:26 AM > > To: [email protected] > > Subject: Build fail for tests > > > > > > > > Hi, > > > > I am trying to run the tests for lucene with some modifications, and > getting > > this output: > > > > compile-core: > > [mkdir] Created dir: > > D:\workspace\lucene-trunk\lucene\build\test-framework\classes\java > > [javac] Compiling 87 source files to > > D:\workspace\lucene-trunk\lucene\build\test-framework\classes\java > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -Xlint:deprecation for details. > > [copy] Copying 3 files to > > D:\workspace\lucene-trunk\lucene\build\test-framework\classes\java > > > > compile-test: > > [mkdir] Created dir: > > D:\workspace\lucene-trunk\lucene\build\core\classes\test > > [javac] Compiling 325 source files to > > D:\workspace\lucene-trunk\lucene\build\core\classes\test > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -Xlint:deprecation for details. > > [copy] Copying 29 files to > > D:\workspace\lucene-trunk\lucene\build\core\classes\test > > > > install-junit4-taskdef: > > > > validate: > > > > test: > > [mkdir] Created dir: D:\workspace\lucene-trunk\lucene\build\core\test > > > > BUILD FAILED > > D:\workspace\lucene-trunk\lucene\build.xml:49: The following error > occurred > > while executing this line: > > D:\workspace\lucene-trunk\lucene\common-build.xml:1056: The following > error > > occurred while executing this line: > > 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? > > > > Thanks, > > Sivan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
