Its definitely not trying to load my plugin, I added that debug setting
and didn't see anything regarding my plugin. One thing I noticed is
that my plugin is not in the plugins directory. At what point do the
plugs get copied there? Here is the output from my compile:
compile:
[echo] Compiling plugin: custom-meta
[javac] Compiling 3 source files to
/usr/local/nutch-0.8/build/custom-meta/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
jar:
[jar] Building jar:
/usr/local/nutch-0.8/build/custom-meta/custom-meta.jar
deps-test:
deploy:
[copy] Copying 1 file to /usr/local/nutch-0.8/build/plugins/custom-meta
HUYLEBROECK Jeremy RD-ILAB-SSF wrote:
> Did you check if your plugin.xml is read by putting the plugin package
> in debug mode?
> (put this in the log4j.properties)
> log4j.logger.org.apache.nutch.plugin=DEBUG
>
>
> -----Original Message-----
> From: Chris Stephens [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 17, 2006 2:30 PM
> To: [email protected]
> Subject: Re: 0.8 not loading plugins
>
> I have this line in src/plugin/build.xml under the deploy section:
>
> <ant dir="custom-meta" target="deploy" />
>
> The plugin is compiling ok. I spent several days getting errors on
> compile and investing how to port them to 0.8.
>
> Jonathan Addison wrote:
>
>> Hi Chris,
>>
>> Chris Stephens wrote:
>>
>>> I think I finally have my plugin ported to 0.8, however I cannot get
>>> my plugin to load.
>>>
>>> My plugin.includes file in conf/nutch-site.xml has the following for
>>> its plugin.includes value:
>>>
>>> <value>protocol-http|urlfilter-regex|parse-(text|html|js)|index-basic
>>> |query-(basic|site|url)|summary-basic|scoring-opic|custom-meta</value
>>>
>>> My plugin is the 'custom-meta' entry at the end.
>>>
>>> My plugin never shows up in the Registered Plugins list in the
>>> hadoop.log, and lines in my plugin that run logger.info never show up
>>>
>
>
>>> as well. Is there a step I am missing with 0.8, what should I do
>>> next to debug the problem?
>>>
>> Have you also added your plugin to plugin/build.xml?
>>
>>> Thank you,
>>>
>>> Chris Stephens
>>>
>>>
>>>
>>
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers