You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Zaheed Haque <za...@gmail.com> on 2006/10/12 17:33:32 UTC
trunk broken?
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
Re: trunk broken?
Posted by Zaheed Haque <za...@gmail.com>.
Bill:
Thanks a lot.
cheers
On 10/13/06, Bill Au <bi...@gmail.com> wrote:
> You need the junit jar file in your CLASSPATH in order to build Solr.
>
> Bill
>
> On 10/12/06, Zaheed Haque <za...@gmail.com> 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
> >
>
Re: trunk broken?
Posted by Bill Au <bi...@gmail.com>.
You need the junit jar file in your CLASSPATH in order to build Solr.
Bill
On 10/12/06, Zaheed Haque <za...@gmail.com> 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
>