Hi,

please make sure you did the followings:

- properly config two files: plugin.xml, build.xml properly in
src/plugin/yourplugin

- run ant in your custom plugin folder: src/plugin/yourplugin

- config src/plugin/build.xml accordingly

- run ant in src/plugin

- run ant in apache-nutch-1.2 folder

- check if yourplugin.jar is in build folder or not

- run crawl command, check hadoop.log if the statement appears or not

I don't have any deployed jar in plugin folder. They normally are deployed
in the build folder instead.

-- Khang

On Wed, Nov 10, 2010 at 4:06 AM, Robert Douglass <[email protected]> wrote:

> Hi Khang,
> That's exactly what I did, and why I'm asking how to deploy the plugins. I
> put LOG statements in the existing core plugin that I'm investigating, and
> even after running ant, the statements weren't showing up in the logs. I
> then determined that the ant tasks don't move jars or xml files into
> NUTCH/plugins, at which point I wrote my first mail to this list asking how
> one is supposed to build and deploy the core plugins. If other people can
> run ant in the plugins directory and their jars are deployed to
> NUTCH/plugins, maybe it's a problem with my environment. Are others able to
> do this, or do you do something else?
>
> On Nov 10, 2010 9:53 AM, "Khang Ich" <[email protected]> wrote:
>
> I don't see any problem with that.
>
> If you'd want to see if Nutch already detected and running your plugin, try
> to put some System.out or LOG.info in your plugin's classes and check the
> logs in nutch/logs/hadoop.log (Nutch 1.2).
>
>
>
> -- Khang
>
>
> On Wed, Nov 10, 2010 at 3:33 AM, Robert Douglass <[email protected]>
> wrote:
>
> > Thanks Alexander. Ac...
>

Reply via email to