You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by jc...@pureperfect.com on 2012/06/27 18:50:27 UTC

Nutch 1.5 Proper Way To Specify Plugin Dependencies?


Hi, what is the proper way to specify jar files that a plugin requires
so that they:


* Compile
* Get bundled on the runtime/local classpath
* Get bundled on the runtime/deploy Job File classpath


I added:


<runtime>
        <library name="plugin-shared-code.jar">
            <export name="*"/>
        </library>
</runtime>


To the plugin directory and put the JAR file in the plugin directory
also, but that didn't seem to work. Where should I put the JAR file?


Thanks!


Re: Nutch 1.5 Proper Way To Specify Plugin Dependencies?

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Jars would go in /lib directory but require the correct specifications
within ./plugin/build.xml

http://svn.apache.org/repos/asf/nutch/trunk/src/plugin/build.xml

hth

On Wed, Jun 27, 2012 at 5:50 PM,  <jc...@pureperfect.com> wrote:
>
>
> Hi, what is the proper way to specify jar files that a plugin requires
> so that they:
>
>
> * Compile
> * Get bundled on the runtime/local classpath
> * Get bundled on the runtime/deploy Job File classpath
>
>
> I added:
>
>
> <runtime>
>        <library name="plugin-shared-code.jar">
>            <export name="*"/>
>        </library>
> </runtime>
>
>
> To the plugin directory and put the JAR file in the plugin directory
> also, but that didn't seem to work. Where should I put the JAR file?
>
>
> Thanks!
>



-- 
Lewis