On 11/29/2014 10:41 PM, Darx Oman wrote:
> when I "ant compile" solr 4.10.x, I got the following error:
> 
> ------------------------------------------------------------------------------------------------------------------------------------------
> ivy-availability-check:
>      [echo] Building solr-core...

<snip>

> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]          :: org.restlet.jee#org.restlet;2.1.1!org.restlet.jar
> [ivy:retrieve]          ::
> org.restlet.jee#org.restlet.ext.servlet;2.1.1!org.restlet.ext.servlet.jar
> [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::

I did a solr compile in fresh checkouts from tags/lucene_solr_4_10_0,
tags/lucene_solr_4_10_2, and branches/branch_5x, deleting the entire ivy
cache before each compile.  Everything worked with no problem.  The
machine where I did this has directly routed Internet access and does
not need a proxy.  It's running Linux, Oracle JDK 7u72, ant 1.9.3, and
ivy 2.3.0.

Here's the relevant section of the log from the 4.10.2 compile:

[ivy:retrieve] downloading
http://repository.cloudera.com/artifactory/repo/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.jar
...
[ivy:retrieve] ............... (19kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ]
org.restlet.jee#org.restlet.ext.servlet;2.1.1!org.restlet.ext.servlet.jar 
(593ms)

Side note: The dependencies that must be downloaded for a Solr compile
add quite a bit of time.  The ivy cache gets huge, but it saves a lot of
time on a second run.

elyograg@sauron:~/asf/lucene_solr_4_10_2$ du -sh ~/.ivy2
115M    /home/elyograg/.ivy2

I also built solr branch_5x successfully on Windows 8.1 after wiping the
ivy cache and running "ant clean clean-jars" at the top level, using
Oracle JDK 8u25, ant 1.9.0, and ivy 2.3.0.  It found the jar that failed
for you with no problem.

Is there anything unusual about your setup, other than the fact that
it's on windows?  What version of ant are you using, and what version of
the ivy jar do you have?  I assume that the ivy jar is in .ant\lib in
your home directory, probably put there by "ant ivy-bootstrap".  The
best option for the JDK is a very recent 1.7 version from Oracle.

Thanks,
Shawn

Reply via email to