Hello list,
When I open Nutch 1.2 in Eclipse, I cannot run ant anymore in order to
build Nutch. This makes plugin development difficult.
This is what happens if I run Ant in Nutch root after I have opened it
in Eclipse:
compile:
[echo] Compiling plugin: index-more
[javac] Compiling 1 source file to
/Users/erlendfg/tmp/temp_apache/apache-nutch-1.2/build/index-more/classes
[javac]
/Users/erlendfg/tmp/temp_apache/apache-nutch-1.2/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java:40:
package org.apache.nutch.searcher.more does not exist
[javac] import org.apache.nutch.searcher.more.TypeQueryFilter;
[javac] ^
[javac] 1 error
BUILD FAILED
/Users/erlendfg/tmp/temp_apache/apache-nutch-1.2/src/plugin/build-plugin.xml:118:
The following error occurred while executing this line:
/Users/erlendfg/tmp/temp_apache/apache-nutch-1.2/src/plugin/build-plugin.xml:111:
Compile failed; see the compiler error output for details.
If I download a fresh version of Nutch, I can build it successfully, but
as soon as Eclipse touches it, Ant complains about the import statement
above.
A bug which should be reported or have I missed something? I followed
this guidance:
http://wiki.apache.org/nutch/RunNutchInEclipse1.0
BTW, I have also tried to open Nutch in Eclipse without doing any extra
configurations other than making it build, but the same build problem
appears.
apache-nutch-1.2-src.tar.gz
Mac OS X 10.5.8
Eclipse 3.4.1
Java 1.6
Erlend
--
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050