[
http://issues.apache.org/jira/browse/LUCENE-717?page=comments#action_12453672 ]
Doron Cohen commented on LUCENE-717:
------------------------------------
That's because junit,jar is required for compiling and running the tests.
(Guess we can't distribute junit.jar with Lucene.)
This is from the commn-build.xml:
##################################################################
JUnit not found.
Please make sure junit.jar is in ANT_HOME/lib, or made available
to Ant using other mechanisms like -lib or CLASSPATH.
##################################################################
> src builds fail because of no "lib" directory
> ---------------------------------------------
>
> Key: LUCENE-717
> URL: http://issues.apache.org/jira/browse/LUCENE-717
> Project: Lucene - Java
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.0.0
> Reporter: Hoss Man
>
> I just downloaded
> http://mirrors.ibiblio.org/pub/mirrors/apache/lucene/java/lucene-2.0.0-src.tar.gz
> and noticed that you can't compile and run the tests from that src build
> because it doesn't inlcude the lib dir (and the build file won't attempt to
> make it if it doesn't exist) ...
> [EMAIL PROTECTED]:~/tmp/l2$ tar -xzvf lucene-2.0.0-src.tar.gz
> ...
> [EMAIL PROTECTED]:~/tmp/l2$ cd lucene-2.0.0/
> [EMAIL PROTECTED]:~/tmp/l2/lucene-2.0.0$ ant test
> ...
> test:
> [mkdir] Created dir: /home/hossman/tmp/l2/lucene-2.0.0/build/test
> BUILD FAILED
> /home/hossman/tmp/l2/lucene-2.0.0/common-build.xml:169:
> /home/hossman/tmp/l2/lucene-2.0.0/lib not found.
> (it's refrenced in junit.classpath, but i'm not relaly sure why)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]