Just for the benefit of anyone else who hits this, I tried the
same thing on a linux system and got it to compile without any problem.
I'm guessing that my Mac is missing either an environment variable or
java package although setting the defaults seems like it should be
pretty straight forward.  For what its worth I get the same error if I
use the source in the trunk instead of the 0.7 branch.

Jake.

-----Original Message-----
From: Vanderdray, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 4:55 PM
To: [email protected]
Subject: Compilation Errors

        I just used svn to grab the nutch-0.7 branch and I get the error
bellow when I try to use ant.  This is on a Mac (OS 10.4.3).  I'm
guessing I just need to uncomment some defaults, but any pointers would
be appreciated.

Thanks,
Jake.

compile-core:
    [javac] Compiling 247 source files to
/Users/jacobvanderdray/Downloads/nutch_cvs/nutch-0.7/build/classes
    [javac]
/Users/jacobvanderdray/Downloads/nutch_cvs/nutch-0.7/src/java/org/apache
/nutch/indexer/IndexMerger.java:52: cannot resolve symbol
    [javac] symbol  : variable DEFAULT_TERM_INDEX_INTERVAL=20
    [javac] location: class org.apache.lucene.index.IndexWriter
    [javac]
IndexWriter.DEFAULT_TERM_INDEX_INTERVAL);
    [javac]                                       ^
    [javac]
/Users/jacobvanderdray/Downloads/nutch_cvs/nutch-0.7/src/java/org/apache
/nutch/indexer/IndexMerger.java:96: cannot resolve symbol
    [javac] symbol  : method setTermIndexInterval (int)
    [javac] location: class org.apache.lucene.index.IndexWriter
    [javac]     writer.setTermIndexInterval(TERM_INDEX_INTERVAL);
    [javac]           ^
    [javac]
/Users/jacobvanderdray/Downloads/nutch_cvs/nutch-0.7/src/java/org/apache
/nutch/indexer/IndexSegment.java:60: cannot resolve symbol
    [javac] symbol  : variable DEFAULT_TERM_INDEX_INTERVAL=20
    [javac] location: class org.apache.lucene.index.IndexWriter
    [javac]
IndexWriter.DEFAULT_TERM_INDEX_INTERVAL);
    [javac]                                       ^
    [javac]
/Users/jacobvanderdray/Downloads/nutch_cvs/nutch-0.7/src/java/org/apache
/nutch/indexer/IndexSegment.java:105: cannot resolve symbol
    [javac] symbol  : method setTermIndexInterval (int)
    [javac] location: class org.apache.lucene.index.IndexWriter
    [javac]       writer.setTermIndexInterval(TERM_INDEX_INTERVAL);
    [javac]             ^
    [javac] 4 errors

Reply via email to