Does ivy fetch all dependancies for trunk?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Does ivy fetch all dependancies for trunk?

Alex McLintock
I'm trying to get Nutch 2.0 (dev) fetched out of trunk. Does it
compile right now?

Currently it complains it can't find "org.gora#gora-core;0.1"

What worries me is that I don't know whether this is a
misconfiguration on my part - or something else externally has gone
wrong.

Alex


alex@reynolds:~/projects/nutch-2/trunk$ svn update
At revision 987056.
alex@reynolds:~/projects/nutch-2/trunk$ ant
Buildfile: build.xml

ivy-probe-antlib:

ivy-download:

-ivy-download-unchecked:

ivy-init-antlib:

ivy-init:

init:

clean-lib:

resolve-default:
[ivy:resolve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file =
/home/alex/projects/nutch-2/trunk/ivy/ivysettings.xml
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: org.gora#gora-core;0.1
[ivy:resolve] ==== local: tried
[ivy:resolve]  /home/alex/.ivy2/local/org.gora/gora-core/0.1/ivys/ivy.xml
[ivy:resolve]  -- artifact org.gora#gora-core;0.1!gora-core.jar:
[ivy:resolve]
/home/alex/.ivy2/local/org.gora/gora-core/0.1/jars/gora-core.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.gora#gora-core;0.1: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/alex/projects/nutch-2/trunk/build.xml:319: impossible to resolve
dependencies:
        resolve failed - see output for details

Total time: 2 seconds
Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Evgeniy Serykh
19.08.2010 14:56, Alex McLintock пишет:

> I'm trying to get Nutch 2.0 (dev) fetched out of trunk. Does it
> compile right now?
>
> Currently it complains it can't find "org.gora#gora-core;0.1"
>
> What worries me is that I don't know whether this is a
> misconfiguration on my part - or something else externally has gone
> wrong.
>
> Alex
>
>
> alex@reynolds:~/projects/nutch-2/trunk$ svn update
> At revision 987056.
> alex@reynolds:~/projects/nutch-2/trunk$ ant
> Buildfile: build.xml
>
> ivy-probe-antlib:
>
> ivy-download:
>
> -ivy-download-unchecked:
>
> ivy-init-antlib:
>
> ivy-init:
>
> init:
>
> clean-lib:
>
> resolve-default:
> [ivy:resolve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
> [ivy:resolve] :: loading settings :: file =
> /home/alex/projects/nutch-2/trunk/ivy/ivysettings.xml
> [ivy:resolve]
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve] module not found: org.gora#gora-core;0.1
> [ivy:resolve] ==== local: tried
> [ivy:resolve]  /home/alex/.ivy2/local/org.gora/gora-core/0.1/ivys/ivy.xml
> [ivy:resolve]  -- artifact org.gora#gora-core;0.1!gora-core.jar:
> [ivy:resolve]
> /home/alex/.ivy2/local/org.gora/gora-core/0.1/jars/gora-core.jar
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: org.gora#gora-core;0.1: not found
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> /home/alex/projects/nutch-2/trunk/build.xml:319: impossible to resolve
> dependencies:
> resolve failed - see output for details
>
> Total time: 2 seconds
>
>    
Try to look at this issue https://issues.apache.org/jira/browse/NUTCH-873
Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Alex McLintock
On 19 August 2010 09:39, Evgeniy Serykh <[hidden email]> wrote:
> Try to look at this issue https://issues.apache.org/jira/browse/NUTCH-873

Cheers

Perhaps I ought to write a README.txt :-)

Alex
Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Andrzej Białecki-2
On 2010-08-19 11:40, Alex McLintock wrote:
> On 19 August 2010 09:39, Evgeniy Serykh<[hidden email]>  wrote:
>> Try to look at this issue https://issues.apache.org/jira/browse/NUTCH-873
>
> Cheers
>
> Perhaps I ought to write a README.txt :-)

Hold on - the fix committed in that issue should be reverted IMHO. I'll
open a new issue for this.

(Background: Nutch build process cannot rely on unversioned local
artifacts, because then the builds are not repeatable across
environments - you execute 'git pull' today and install the jars into
your ivy2/local, someone commits new code to Gora, then I execute 'git
pull' and kaboom - things are different, there may be different errors
or bugs showing up, because our local versions of gora-core-0.1 are in
fact different).


--
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com

Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Mattmann, Chris A (3010)
In reply to this post by Alex McLintock
Re: Does ivy fetch all dependancies for trunk? Hi Alex,

Unfortunately because Gora isn’t published anywhere, Ivy won’t automatically fetch Gora for you. But, it will automatically include it in your build, if it’s in your local Ivy repository.

Steps to make that happen:

  1. git clone git://github.com/enis/gora.git
  2. cd gora
  3. ant

Then, after doing that, Nutch should build fine...

Cheers,
Chris



On 8/19/10 12:56 AM, "Alex McLintock" <alex.mclintock@...> wrote:

I'm trying to get Nutch 2.0 (dev) fetched out of trunk. Does it
compile right now?

Currently it complains it can't find "org.gora#gora-core;0.1"

What worries me is that I don't know whether this is a
misconfiguration on my part - or something else externally has gone
wrong.

Alex


alex@reynolds:~/projects/nutch-2/trunk$ svn update
At revision 987056.
alex@reynolds:~/projects/nutch-2/trunk$ ant
Buildfile: build.xml

ivy-probe-antlib:

ivy-download:

-ivy-download-unchecked:

ivy-init-antlib:

ivy-init:

init:

clean-lib:

resolve-default:
[ivy:resolve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file =
/home/alex/projects/nutch-2/trunk/ivy/ivysettings.xml
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           module not found: org.gora#gora-core;0.1
[ivy:resolve]   ==== local: tried
[ivy:resolve]     /home/alex/.ivy2/local/org.gora/gora-core/0.1/ivys/ivy.xml
[ivy:resolve]     -- artifact org.gora#gora-core;0.1!gora-core.jar:
[ivy:resolve]  
/home/alex/.ivy2/local/org.gora/gora-core/0.1/jars/gora-core.jar
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: org.gora#gora-core;0.1: not found
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/alex/projects/nutch-2/trunk/build.xml:319: impossible to resolve
dependencies:
        resolve failed - see output for details

Total time: 2 seconds



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@...
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Mattmann, Chris A (3010)
In reply to this post by Alex McLintock
Re: Does ivy fetch all dependancies for trunk? +1...or better yet:

  1. create a JIRA to include the info from NUTCH-873 inside of README.txt.
  2. create a patch for README.txt to include this information
  3. attach patch to newly created JIRA

Thanks!

Cheers,
Chris


On 8/19/10 2:40 AM, "Alex McLintock" <alex.mclintock@...> wrote:

On 19 August 2010 09:39, Evgeniy Serykh <sev@...> wrote:
> Try to look at this issue https://issues.apache.org/jira/browse/NUTCH-873

Cheers

Perhaps I ought to write a README.txt :-)

Alex



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@...
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply | Threaded
Open this post in threaded view
|

Re: Does ivy fetch all dependancies for trunk?

Mattmann, Chris A (3010)
In reply to this post by Andrzej Białecki-2
Re: Does ivy fetch all dependancies for trunk? Ahh, I hadn’t seen this before I commented on NUTCH-891.

At the same time, I think my comments over there still stand. This isn’t a problem with NUTCH-873, it’s a problem with the way that Gora is built. I don’t think checking in the jars and defeating the purpose of using {Ivy/Maven2/pick your favorite dep mgmt system} is the solution to this — the solution IMHO is disciplined management of a local Ivy/Maven2 repository and installation of Gora to it...

Cheers,
Chris



On 8/19/10 3:47 AM, "Andrzej Bialecki" <ab@...> wrote:

On 2010-08-19 11:40, Alex McLintock wrote:
> On 19 August 2010 09:39, Evgeniy Serykh<sev@...>  wrote:
>> Try to look at this issue https://issues.apache.org/jira/browse/NUTCH-873
>
> Cheers
>
> Perhaps I ought to write a README.txt :-)

Hold on - the fix committed in that issue should be reverted IMHO. I'll
open a new issue for this.

(Background: Nutch build process cannot rely on unversioned local
artifacts, because then the builds are not repeatable across
environments - you execute 'git pull' today and install the jars into
your ivy2/local, someone commits new code to Gora, then I execute 'git
pull' and kaboom - things are different, there may be different errors
or bugs showing up, because our local versions of gora-core-0.1 are in
fact different).


--
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: Chris.Mattmann@...
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++