Awesome! Thank you very much! Worked perfect. Olaf Thiele <[EMAIL PROTECTED]> wrote:Hi Chris, found the following in the archives:
Bugs item #1066096, was opened at 2004-11-14 11:13 Message generated for change (Settings changed) made by sullija721 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=491356&aid=1066096&group_id=59548 Category: indexer Group: mainline >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: James Sullivan (sullija721) Assigned to: Doug Cutting (cutting) Summary: Can't build with JDK 1.5 Initial Comment: to avoid conflict with java.util.PriorityQueue and build in Java 1.5 need to add import org.apache.lucene.util.PriorityQueue; to net.nutch.indexer.IndexOptimizer Ciao Olaf On Apr 2, 2005 6:16 PM, Chris Edwards wrote: > When running "ant war" this what i am getting back... > > Buildfile: build.xml > init: > compile-core: > [javac] Compiling 196 source files to /usr/local/nutch/build/classes > [javac] /usr/local/nutch/src/java/net/nutch/indexer/IndexOptimizer.java:81: > reference to PriorityQueue is ambiguous, both class > org.apache.lucene.util.PriorityQueue in org.apache.lucene.util and class > java.util.PriorityQueue in java.util match > [javac] private static class ScoreDocQueue extends PriorityQueue { > [javac] ^ > [javac] /usr/local/nutch/src/java/net/nutch/analysis/FastCharStream.java:92: > warning: [deprecation] getLine() in net.nutch.analysis.CharStream has been > deprecated > [javac] public final int getLine() { > [javac] ^ > [javac] /usr/local/nutch/src/java/net/nutch/analysis/FastCharStream.java:89: > warning: [deprecation] getColumn() in net.nutch.analysis.CharStream has been > deprecated > [javac] public final int getColumn() { > [javac] ^ > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 1 error > [javac] 2 warnings > BUILD FAILED > /usr/local/nutch/build.xml:64: Compile failed; see the compiler error output > for details. > Total time: 5 seconds > > Any help would be appreciated. > > Thanks, > > Chris Edwards > > -- --- Chris Edwards
