Bill:

Thanks a lot.

cheers

On 10/13/06, Bill Au <[EMAIL PROTECTED]> wrote:
You need the junit jar file in your CLASSPATH in order to build Solr.

Bill

On 10/12/06, Zaheed Haque <[EMAIL PROTECTED]> wrote:
> Hi:
>
> The nighly version 2006-10-12 works fine just tested it. But when I
> downloaded the source and try to compile I am getting the following
> error:
>
> What I am doing wrong? is the trunk broken? I would like to try
> SOLR-20 and SOLR-30 could someone please help..
>
> Regards
>
> =====
>
> compile:
>     [mkdir] Created dir: /usr/local/src/solr/build
>     [javac] Compiling 151 source files to /usr/local/src/solr/build
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:8:
> package junit.framework does not exist
>     [javac] import junit.framework.TestCase;
>     [javac]                        ^
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:27:
> cannot find symbol
>     [javac] symbol: class TestCase
>     [javac] public abstract class AbstractSolrTestCase extends TestCase {
>     [javac]                                                    ^
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:78:
> cannot find symbol
>     [javac] symbol  : method getClass()
>     [javac] location: class org.apache.solr.util.AbstractSolrTestCase
>     [javac]                        + getClass().getName() + "-" +
> getName() + "-"
>     [javac]                          ^
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:78:
> cannot find symbol
>     [javac] symbol  : method getName()
>     [javac] location: class org.apache.solr.util.AbstractSolrTestCase
>     [javac]                        + getClass().getName() + "-" +
> getName() + "-"
>     [javac]                                                       ^
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:120:
> cannot find symbol
>     [javac] symbol  : method fail(java.lang.String)
>     [javac] location: class org.apache.solr.util.AbstractSolrTestCase
>     [javac]         fail(m + "update was not successful: " + res);
>     [javac]         ^
>     [javac] 
/usr/local/src/solr/src/java/org/apache/solr/util/AbstractSolrTestCase.java:139:
> cannot find symbol
>     [javac] symbol  : method fail(java.lang.String)
>     [javac] location: class org.apache.solr.util.AbstractSolrTestCase
>     [javac]         fail(m + "query failed XPath: " + results +
>     [javac]         ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 6 errors
>
> BUILD FAILED
> /usr/local/src/solr/build.xml:86: Compile failed; see the compiler
> error output for details.
>
> Total time: 13 seconds
>

Reply via email to