nutch1.0在eclipse下的成功编译要注意事项

阅读更多

有以下要点要注意:

1、在WINDOWS的环境变量中要正确指定JDK目录

2、build.xml编译报错,

Nutch\nutch-0.9\build.xml:61: Specify at least one source--a file or resource collection.

将下面几行的前几行(从61行开始直到下面的
前一行为止)直接删除就OK了,




 

3、把Nuthc-1.0目录下的所有文件复制到nutch目录下。

4、打开使用java Project from existing ant buildfile方式,打开build.xml(NUTCH-1。0根目录下)

 

Buildfile: G:\workspace\Nutch\build.xml

init:

[unjar] Expanding: G:\workspace\Nutch\lib\hadoop-0.19.1-core.jar into G:\workspace\Nutch\build\hadoop

[untar] Expanding: G:\workspace\Nutch\build\hadoop\bin.tgz into G:\workspace\Nutch\bin

[unjar] Expanding: G:\workspace\Nutch\lib\hadoop-0.19.1-core.jar into G:\workspace\Nutch\build

compile-core:

compile-plugins:

deploy:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: clustering-carrot2

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: creativecommons

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: parse-html

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: feed

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: index-basic

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: index-anchor

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: index-more

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: field-basic

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: field-boost

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

[echo] Copying language profiles

[echo] Copying test files

deps-jar:

compile:

[echo] Compiling plugin: language-identifier

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: parse-html

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-http

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: microformats-reltag

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: ontology

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-ftp

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-http

jar:

compile:

[echo] Compiling plugin: protocol-http

jar:

deps-test:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-http

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-http

jar:

compile:

[echo] Compiling plugin: protocol-httpclient

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-ext

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: parse-html

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-js

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

compile:

[echo] Compiling plugin: parse-msexcel

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

compile:

[echo] Compiling plugin: parse-mspowerpoint

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

compile:

[echo] Compiling plugin: parse-msword

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: lib-parsems

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: parse-oo

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-pdf

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

compile:

jar:

compile:

[echo] Compiling plugin: parse-rss

jar:

deps-test:

init:

init-plugin:

compile:

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-swf

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-text

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-zip

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: protocol-file

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: parse-text

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: query-basic

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: query-more

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: query-site

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: query-custom

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: query-url

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: response-json

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: response-xml

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: scoring-opic

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: scoring-link

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: summary-basic

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: subcollection

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: summary-lucene

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: tld

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

compile-test:

compile:

[echo] Compiling plugin: urlfilter-automaton

jar:

deps-test:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlfilter-domain

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlfilter-prefix

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

jar:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

compile-test:

compile:

[echo] Compiling plugin: urlfilter-regex

jar:

deps-test:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: lib-regex-filter

jar:

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlfilter-suffix

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlfilter-validator

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlnormalizer-basic

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlnormalizer-pass

jar:

deps-test:

deploy:

copy-generated-lib:

init:

init-plugin:

deps-jar:

compile:

[echo] Compiling plugin: urlnormalizer-regex

jar:

deps-test:

init:

init-plugin:

compile:

jar:

[jar] Warning: skipping jar archive G:\workspace\Nutch\build\nutch-extensionpoints\nutch-extensionpoints.jar because no files were included.

deps-test:

deploy:

copy-generated-lib:

deploy:

copy-generated-lib:

compile:

job:

BUILD SUCCESSFUL

Total time: 4 seconds

你可能感兴趣的:(Eclipse,Hadoop,lucene,OO,EXT)