You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by jeffersonzhou <je...@gmail.com> on 2011/07/17 19:33:39 UTC
How to access to jar files in the lib folder of a user-defined plugin
Hi,
I am writing my own plugin, which includes a lib in the
src/plugin/myownplugin.
In eclipse, I have no problem running the plugin, which is rely upon the jar
files under src/plugin/myownplugin/lib.
In linux, however, the plugin can��t access to the jar files in run �Ctime
even though they are in the build/plugins/myownplugin folder, and I can ant
build the plugin as well as the whole nuch.
What have I missed?
Thanks.
RE: How to access to jar files in the lib folder of a user-defined plugin
Posted by jeffersonzhou <je...@gmail.com>.
It was added already.
-----Original Message-----
From: Markus Jelsma [mailto:markus.jelsma@openindex.io]
Sent: Monday, July 18, 2011 6:06 AM
To: user@nutch.apache.org
Cc: lewis john mcgibbney
Subject: Re: How to access to jar files in the lib folder of a user-defined plugin
Would adding the plugin to src/plugin/build.xml help?
> This is also a problem I am having. I am confused about what to specify and
> where due to the structure of Nutch and its runtime directory after
> building.
>
> Any help or discussion would be great.
>
> Thanks
>
> 2011/7/17 jeffersonzhou <je...@gmail.com>
>
> > Hi,
> >
> >
> >
> > I am writing my own plugin, which includes a lib in the
> > src/plugin/myownplugin.
> >
> >
> >
> > In eclipse, I have no problem running the plugin, which is rely upon the
> > jar
> > files under src/plugin/myownplugin/lib.
> >
> >
> >
> > In linux, however, the plugin can’t access to the jar files in run –time
> > even though they are in the build/plugins/myownplugin folder, and I can
> > ant build the plugin as well as the whole nuch.
> >
> >
> >
> > What have I missed?
> >
> >
> >
> > Thanks.
Re: How to access to jar files in the lib folder of a user-defined plugin
Posted by Markus Jelsma <ma...@openindex.io>.
Would adding the plugin to src/plugin/build.xml help?
> This is also a problem I am having. I am confused about what to specify and
> where due to the structure of Nutch and its runtime directory after
> building.
>
> Any help or discussion would be great.
>
> Thanks
>
> 2011/7/17 jeffersonzhou <je...@gmail.com>
>
> > Hi,
> >
> >
> >
> > I am writing my own plugin, which includes a lib in the
> > src/plugin/myownplugin.
> >
> >
> >
> > In eclipse, I have no problem running the plugin, which is rely upon the
> > jar
> > files under src/plugin/myownplugin/lib.
> >
> >
> >
> > In linux, however, the plugin can’t access to the jar files in run –time
> > even though they are in the build/plugins/myownplugin folder, and I can
> > ant build the plugin as well as the whole nuch.
> >
> >
> >
> > What have I missed?
> >
> >
> >
> > Thanks.
Re: How to access to jar files in the lib folder of a user-defined plugin
Posted by lewis john mcgibbney <le...@gmail.com>.
This is also a problem I am having. I am confused about what to specify and
where due to the structure of Nutch and its runtime directory after
building.
Any help or discussion would be great.
Thanks
2011/7/17 jeffersonzhou <je...@gmail.com>
> Hi,
>
>
>
> I am writing my own plugin, which includes a lib in the
> src/plugin/myownplugin.
>
>
>
> In eclipse, I have no problem running the plugin, which is rely upon the
> jar
> files under src/plugin/myownplugin/lib.
>
>
>
> In linux, however, the plugin can’t access to the jar files in run –time
> even though they are in the build/plugins/myownplugin folder, and I can ant
> build the plugin as well as the whole nuch.
>
>
>
> What have I missed?
>
>
>
> Thanks.
>
>
--
*Lewis*