I suspected he uses JDK 1.4 and as when he executes 'java -version' it
print 1.5 I think he has both JDK installed and PATH is updated for
1.5 but JAVA_HOME (used by ant) is set to the 1.4 one. I did so in my
installation and get indentical results.
But having said that I am still not able to compile it using JDK 1.5 -
and looking at the source code it should not compile in my opinion:
Error is:
    [javac] Compiling 50 source files to D:\oc\classes
    [javac] D:\oc\src\java\org\supermind\crawl\HostQueue.java:70: non-static var
iable maxPagesPerConnection cannot be referenced from a static context
    [javac]     int number = Math.min(pages.size(), Fetcher.maxPagesPerConnectio
n);
    [javac]                                                ^

And when you look at Fetcher.java:
  protected int maxPagesPerConnection = 5;

So it should not compile in my opinion.
Am I missing sth?
Regards
Piotr


On 8/26/05, Kelvin Tan <[EMAIL PROTECTED]> wrote:
> Wang Wen is having some build problems with the code I uploaded to Jira. I'm 
> wondering if anyone else is facing the same problems?
> 
> kelvin


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to