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/18 14:58:13 UTC

compilation of nutch1.3 plugins fails

All,
I have tried to compile the nutch src and plugins but have faced this issue --
ivy:resolve doesn't support the "log" attribute
After removing the log attribute for <ivy:resolve> from build.xml, ant moves ahead but fails with the dependencies on eclipse(??). The messages are like -
[ivy:resolve] 		module not found: org.eclipse.jdt#core;${eclipse-compiler-version}
[ivy:resolve] 	  http://repo1.maven.org/maven2/org/eclipse/jdt/core/${eclipse-compiler-version}/core-${eclipse-compiler-version}.jar[ivy:resolve] 		[FAILED     ] org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0.1!geronimo-stax-api_1.0_spec.bundle:  (0ms)
[ivy:resolve] 	  http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.bundle[ivy:resolve] 		[FAILED     ] org.apache.tika#tika-core;0.9!tika-core.bundle:  (0ms)

[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve] 		:: org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local: not found[ivy:resolve] 		:: org.eclipse.jdt#core;${eclipse-compiler-version}: not found
Is it looking for eclipse installation? Or is there something else I am missing?
Thanks,
Ashish

Re: compilation of nutch1.3 plugins fails

Posted by Ashish M <as...@yahoo.com>.
That's right, Lewis.
I compared the file sizes and they seem to be the same as present in svn.

As I mentioned previously, the problem is in task "resolve-default" which uses ivy:resolve and that fails for me for attribute "log". 

PS: I have been trying this on Mac OS 10.6.8. The build worked fine on Windows XP

On Oct 18, 2011, at 9:51 AM, lewis john mcgibbney <le...@gmail.com> wrote:

> details of ivy shipped with Nutch 1.3 can be seen here [1], I'm just curious
> why compiling your plugins is not working. If you're using ant then
> 
> ant comple-plugins
> 
> will obviously do the business, however
> 
> ant compile
> 
> should also result in a succesful compile job. If the software releases you
> mentioned eariler are all clean, there should be no problems.
> 
> [1] http://svn.apache.org/viewvc/nutch/tags/release-1.3/ivy/
> 
> On Tue, Oct 18, 2011 at 5:41 PM, Ashish M <as...@yahoo.com> wrote:
> 
>> That happened when I removed the "log" attribute from ivy:resolve tag in
>> build.xml. That should not have happened- the removal of log attribute.
>> 
>> Is there any particular version of ivy you are expecting?
>> 
>> Sent from my iPhone. Please ignore the typos.
>> 
>> On Oct 18, 2011, at 9:35 AM, lewis john mcgibbney <
>> lewis.mcgibbney@gmail.com> wrote:
>> 
>>> I've never seen the unresolved dependencies that you mention. I'm can
>> only
>>> assume that this must be something environment specific...
>>> 
>>> [ivy:resolve]        ::::::::::::::::::::::::::::::
>>> ::::::::::::::::
>>>>>> [ivy:resolve]
>>>>>>>     ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
>>>>>>>     ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
>>>>> ::
>>>>>>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local
>> :
>>>>> not
>>>>>>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
>>>>>> version}:
>>> 
>>> 
>>> On Tue, Oct 18, 2011 at 5:28 PM, Ashish M <as...@yahoo.com> wrote:
>>> 
>>>> Have tried from command line as well as from IDE (Idea) ... Fails in the
>>>> resolve-default target of build.xml.
>>>> 
>>>> I tried it and It ran fine on a windows machine. I donlaoded nutch 1.3
>> src
>>>> and ant binary. On running ant from commandline, the build completed
>>>> 
>>>> Sent from my iPhone. Please ignore the typos.
>>>> 
>>>> On Oct 18, 2011, at 8:57 AM, lewis john mcgibbney <
>>>> lewis.mcgibbney@gmail.com> wrote:
>>>> 
>>>>> How/where are you trying to compile this from? Command line or from
>>>> within
>>>>> eclipse?
>>>>> 
>>>> 
>> 
> 
> 
> 
> -- 
> *Lewis*

Re: compilation of nutch1.3 plugins fails

Posted by lewis john mcgibbney <le...@gmail.com>.
details of ivy shipped with Nutch 1.3 can be seen here [1], I'm just curious
why compiling your plugins is not working. If you're using ant then

ant comple-plugins

will obviously do the business, however

ant compile

should also result in a succesful compile job. If the software releases you
mentioned eariler are all clean, there should be no problems.

[1] http://svn.apache.org/viewvc/nutch/tags/release-1.3/ivy/

On Tue, Oct 18, 2011 at 5:41 PM, Ashish M <as...@yahoo.com> wrote:

> That happened when I removed the "log" attribute from ivy:resolve tag in
> build.xml. That should not have happened- the removal of log attribute.
>
> Is there any particular version of ivy you are expecting?
>
> Sent from my iPhone. Please ignore the typos.
>
> On Oct 18, 2011, at 9:35 AM, lewis john mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
> > I've never seen the unresolved dependencies that you mention. I'm can
> only
> > assume that this must be something environment specific...
> >
> > [ivy:resolve]        ::::::::::::::::::::::::::::::
> > ::::::::::::::::
> >>>> [ivy:resolve]
> >>>>>      ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
> >>>>>      ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
> >>> ::
> >>>>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local
> :
> >>> not
> >>>>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
> >>>> version}:
> >
> >
> > On Tue, Oct 18, 2011 at 5:28 PM, Ashish M <as...@yahoo.com> wrote:
> >
> >> Have tried from command line as well as from IDE (Idea) ... Fails in the
> >> resolve-default target of build.xml.
> >>
> >> I tried it and It ran fine on a windows machine. I donlaoded nutch 1.3
> src
> >> and ant binary. On running ant from commandline, the build completed
> >>
> >> Sent from my iPhone. Please ignore the typos.
> >>
> >> On Oct 18, 2011, at 8:57 AM, lewis john mcgibbney <
> >> lewis.mcgibbney@gmail.com> wrote:
> >>
> >>> How/where are you trying to compile this from? Command line or from
> >> within
> >>> eclipse?
> >>>
> >>
>



-- 
*Lewis*

Re: compilation of nutch1.3 plugins fails

Posted by Ashish M <as...@yahoo.com>.
That happened when I removed the "log" attribute from ivy:resolve tag in build.xml. That should not have happened- the removal of log attribute.

Is there any particular version of ivy you are expecting? 

Sent from my iPhone. Please ignore the typos.

On Oct 18, 2011, at 9:35 AM, lewis john mcgibbney <le...@gmail.com> wrote:

> I've never seen the unresolved dependencies that you mention. I'm can only
> assume that this must be something environment specific...
> 
> [ivy:resolve]        ::::::::::::::::::::::::::::::
> ::::::::::::::::
>>>> [ivy:resolve]
>>>>>      ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
>>>>>      ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
>>> ::
>>>>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local:
>>> not
>>>>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
>>>> version}:
> 
> 
> On Tue, Oct 18, 2011 at 5:28 PM, Ashish M <as...@yahoo.com> wrote:
> 
>> Have tried from command line as well as from IDE (Idea) ... Fails in the
>> resolve-default target of build.xml.
>> 
>> I tried it and It ran fine on a windows machine. I donlaoded nutch 1.3 src
>> and ant binary. On running ant from commandline, the build completed
>> 
>> Sent from my iPhone. Please ignore the typos.
>> 
>> On Oct 18, 2011, at 8:57 AM, lewis john mcgibbney <
>> lewis.mcgibbney@gmail.com> wrote:
>> 
>>> How/where are you trying to compile this from? Command line or from
>> within
>>> eclipse?
>>> 
>> 

Re: compilation of nutch1.3 plugins fails

Posted by lewis john mcgibbney <le...@gmail.com>.
I've never seen the unresolved dependencies that you mention. I'm can only
assume that this must be something environment specific...

[ivy:resolve]        ::::::::::::::::::::::::::::::
::::::::::::::::
>>> [ivy:resolve]
>>>>       ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
>>>>       ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
>> ::
>>>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local:
>> not
>>>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
>>> version}:


On Tue, Oct 18, 2011 at 5:28 PM, Ashish M <as...@yahoo.com> wrote:

> Have tried from command line as well as from IDE (Idea) ... Fails in the
> resolve-default target of build.xml.
>
> I tried it and It ran fine on a windows machine. I donlaoded nutch 1.3 src
> and ant binary. On running ant from commandline, the build completed
>
> Sent from my iPhone. Please ignore the typos.
>
> On Oct 18, 2011, at 8:57 AM, lewis john mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
> > How/where are you trying to compile this from? Command line or from
> within
> > eclipse?
> >
>

Re: compilation of nutch1.3 plugins fails

Posted by Ashish M <as...@yahoo.com>.
Have tried from command line as well as from IDE (Idea) ... Fails in the resolve-default target of build.xml.

I tried it and It ran fine on a windows machine. I donlaoded nutch 1.3 src and ant binary. On running ant from commandline, the build completed

Sent from my iPhone. Please ignore the typos.

On Oct 18, 2011, at 8:57 AM, lewis john mcgibbney <le...@gmail.com> wrote:

> How/where are you trying to compile this from? Command line or from within
> eclipse?
> 
> On Tue, Oct 18, 2011 at 4:32 PM, Ashish M <as...@yahoo.com> wrote:
> 
>> I am using mac os x snow leopard. Java 1.6 for OS X
>> 
>> On Oct 18, 2011, at 7:00 AM, Markus Jelsma <ma...@openindex.io>
>> wrote:
>> 
>>> This is strange. What plugin actually fails? What OS are you using? How
>> do you
>>> compile? A normal 1.3 check out on Linux will compile fine with ant.
>>> 
>>> On Tuesday 18 October 2011 14:58:13 Ashish Mehrotra wrote:
>>>> All,
>>>> I have tried to compile the nutch src and plugins but have faced this
>> issue
>>>> -- ivy:resolve doesn't support the "log" attribute
>>>> After removing the log attribute for <ivy:resolve> from build.xml, ant
>>>> moves ahead but fails with the dependencies on eclipse(??). The messages
>>>> are like - [ivy:resolve]        module not found:
>>>> org.eclipse.jdt#core;${eclipse-compiler-version} [ivy:resolve]
>>>> 
>> http://repo1.maven.org/maven2/org/eclipse/jdt/core/${eclipse-compiler-ver
>>>> sion}/core-${eclipse-compiler-version}.jar[ivy:resolve]        [FAILED
>>  ]
>>>> 
>> org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0.1!geronimo-stax-a
>>>> pi_1.0_spec.bundle:  (0ms) [ivy:resolve]
>>>> 
>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api
>>>> _1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.bundle[ivy:resolve]
>>>>       [FAILED     ] org.apache.tika#tika-core;0.9!tika-core.bundle:
>> (0ms)
>>>> 
>>>> [ivy:resolve]        ::::::::::::::::::::::::::::::::::::::::::::::
>>> [ivy:resolve]
>>>>       ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
>>>>       ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
>> ::
>>>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local:
>> not
>>>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
>>> version}:
>>>> not found Is it looking for eclipse installation? Or is there something
>>>> else I am missing? Thanks,
>>>> Ashish
>>> 
>>> --
>>> Markus Jelsma - CTO - Openindex
>>> http://www.linkedin.com/in/markus17
>>> 050-8536620 / 06-50258350
>> 
> 
> 
> 
> -- 
> *Lewis*

Re: compilation of nutch1.3 plugins fails

Posted by lewis john mcgibbney <le...@gmail.com>.
How/where are you trying to compile this from? Command line or from within
eclipse?

On Tue, Oct 18, 2011 at 4:32 PM, Ashish M <as...@yahoo.com> wrote:

> I am using mac os x snow leopard. Java 1.6 for OS X
>
> On Oct 18, 2011, at 7:00 AM, Markus Jelsma <ma...@openindex.io>
> wrote:
>
> > This is strange. What plugin actually fails? What OS are you using? How
> do you
> > compile? A normal 1.3 check out on Linux will compile fine with ant.
> >
> > On Tuesday 18 October 2011 14:58:13 Ashish Mehrotra wrote:
> >> All,
> >> I have tried to compile the nutch src and plugins but have faced this
> issue
> >> -- ivy:resolve doesn't support the "log" attribute
> >> After removing the log attribute for <ivy:resolve> from build.xml, ant
> >> moves ahead but fails with the dependencies on eclipse(??). The messages
> >> are like - [ivy:resolve]        module not found:
> >> org.eclipse.jdt#core;${eclipse-compiler-version} [ivy:resolve]
> >>
> http://repo1.maven.org/maven2/org/eclipse/jdt/core/${eclipse-compiler-ver
> >> sion}/core-${eclipse-compiler-version}.jar[ivy:resolve]        [FAILED
>   ]
> >>
> org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0.1!geronimo-stax-a
> >> pi_1.0_spec.bundle:  (0ms) [ivy:resolve]
> >>
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api
> >> _1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.bundle[ivy:resolve]
> >>        [FAILED     ] org.apache.tika#tika-core;0.9!tika-core.bundle:
>  (0ms)
> >>
> >> [ivy:resolve]        ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]
> >>        ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
> >>        ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]
>  ::
> >> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local:
> not
> >> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
> > version}:
> >> not found Is it looking for eclipse installation? Or is there something
> >> else I am missing? Thanks,
> >> Ashish
> >
> > --
> > Markus Jelsma - CTO - Openindex
> > http://www.linkedin.com/in/markus17
> > 050-8536620 / 06-50258350
>



-- 
*Lewis*

Re: compilation of nutch1.3 plugins fails

Posted by Ashish M <as...@yahoo.com>.
I am using mac os x snow leopard. Java 1.6 for OS X

On Oct 18, 2011, at 7:00 AM, Markus Jelsma <ma...@openindex.io> wrote:

> This is strange. What plugin actually fails? What OS are you using? How do you 
> compile? A normal 1.3 check out on Linux will compile fine with ant.
> 
> On Tuesday 18 October 2011 14:58:13 Ashish Mehrotra wrote:
>> All,
>> I have tried to compile the nutch src and plugins but have faced this issue
>> -- ivy:resolve doesn't support the "log" attribute
>> After removing the log attribute for <ivy:resolve> from build.xml, ant
>> moves ahead but fails with the dependencies on eclipse(??). The messages
>> are like - [ivy:resolve]        module not found:
>> org.eclipse.jdt#core;${eclipse-compiler-version} [ivy:resolve]    
>> http://repo1.maven.org/maven2/org/eclipse/jdt/core/${eclipse-compiler-ver
>> sion}/core-${eclipse-compiler-version}.jar[ivy:resolve]        [FAILED     ]
>> org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0.1!geronimo-stax-a
>> pi_1.0_spec.bundle:  (0ms) [ivy:resolve]    
>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api
>> _1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.bundle[ivy:resolve]
>>        [FAILED     ] org.apache.tika#tika-core;0.9!tika-core.bundle:  (0ms)
>> 
>> [ivy:resolve]        ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
>>        ::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
>>        ::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve]        ::
>> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local: not
>> found[ivy:resolve]        :: org.eclipse.jdt#core;${eclipse-compiler-
> version}:
>> not found Is it looking for eclipse installation? Or is there something
>> else I am missing? Thanks,
>> Ashish
> 
> -- 
> Markus Jelsma - CTO - Openindex
> http://www.linkedin.com/in/markus17
> 050-8536620 / 06-50258350

Re: compilation of nutch1.3 plugins fails

Posted by Markus Jelsma <ma...@openindex.io>.
This is strange. What plugin actually fails? What OS are you using? How do you 
compile? A normal 1.3 check out on Linux will compile fine with ant.

On Tuesday 18 October 2011 14:58:13 Ashish Mehrotra wrote:
> All,
> I have tried to compile the nutch src and plugins but have faced this issue
> -- ivy:resolve doesn't support the "log" attribute
> After removing the log attribute for <ivy:resolve> from build.xml, ant
> moves ahead but fails with the dependencies on eclipse(??). The messages
> are like - [ivy:resolve] 		module not found:
> org.eclipse.jdt#core;${eclipse-compiler-version} [ivy:resolve] 	
>  http://repo1.maven.org/maven2/org/eclipse/jdt/core/${eclipse-compiler-ver
> sion}/core-${eclipse-compiler-version}.jar[ivy:resolve] 		[FAILED     ]
> org.apache.geronimo.specs#geronimo-stax-api_1.0_spec;1.0.1!geronimo-stax-a
> pi_1.0_spec.bundle:  (0ms) [ivy:resolve] 	
>  http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-stax-api
> _1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.bundle[ivy:resolve]
> 		[FAILED     ] org.apache.tika#tika-core;0.9!tika-core.bundle:  (0ms)
> 
> [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
> 		::          UNRESOLVED DEPENDENCIES         ::[ivy:resolve]
> 		::::::::::::::::::::::::::::::::::::::::::::::[ivy:resolve] 		::
> org.apache.zookeeper#zookeeper;working@Ashish-Mehrotras-MacBook.local: not
> found[ivy:resolve] 		:: org.eclipse.jdt#core;${eclipse-compiler-
version}:
> not found Is it looking for eclipse installation? Or is there something
> else I am missing? Thanks,
> Ashish

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350