You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Ashish Mehrotra <as...@yahoo.com> on 2011/10/19 14:27:55 UTC

build nutch-1.3 from src/plugin

After trying to build nutch-1.3 from source unsuccessfully from Mac, I tried it from a Linux X86 machine. Making ant build from top level works fine. Makes the classes and runtime folders.After that when I go to src/plugin and try to fire ant from there, I see issues like --
Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
This appears to be an antlib declaration. Action: Check that the implementing library exists in one of:        -/home/ashish/utils/apache-ant-1.8.2/lib        -/home/ashish/.ant/lib
If I copy ivy.jar into the location, I start getting issue like --ivy:resolve doesn't support the "log" attribute
Question - Should nutch always be built from the NUTCH_HOME and plugins should not be tried to be built separately from the src/plugin folder ? 

Re: build nutch-1.3 from src/plugin

Posted by lewis john mcgibbney <le...@gmail.com>.
Hi,

In my experience I have never 'needed' to build from anywhere else that
NUTCH_HOME. However I would imagine that this is not always the case in some
production environments.

I think the method you describe for building plugins works slightly against
the way we currently do this, which is

Independent plugin management from NUTCH_HOME/src/plugin Vs centralised
plugin management via build.xml from NUTCH_HOME

I would suggest one possible work around... and I apologise if this is
slightly off topic. You can comment out the 'build & deploy', 'test' and
'clean' targets for the plugins you do not wish to build within
NUTCH_HOME/src/plugin/build.xml. This will enable you to only (control)
build the plugins you desire from NUTCH_HOME/build.xml

As I said, sorry if my comments are off topic in any way.

Lewis

On Wed, Oct 19, 2011 at 1:27 PM, Ashish Mehrotra <as...@yahoo.com> wrote:

> After trying to build nutch-1.3 from source unsuccessfully from Mac, I
> tried it from a Linux X86 machine. Making ant build from top level works
> fine. Makes the classes and runtime folders.After that when I go to
> src/plugin and try to fire ant from there, I see issues like --
> Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
> This appears to be an antlib declaration. Action: Check that the
> implementing library exists in one of:
> -/home/ashish/utils/apache-ant-1.8.2/lib        -/home/ashish/.ant/lib
> If I copy ivy.jar into the location, I start getting issue like
> --ivy:resolve doesn't support the "log" attribute
> Question - Should nutch always be built from the NUTCH_HOME and plugins
> should not be tried to be built separately from the src/plugin folder ?
>



-- 
*Lewis*