You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2012/10/22 05:03:01 UTC

Lucene build & ivy problems

If I have all of the dependencies downloaded, how can I tell the build to skip checking the repositories? 

I'm working on a somewhat dodgy internet connection. I ran 'ant example' a hundred times. On the 101st, I had an internet outage and the Ivy stuff blocked. Ever after that the resolver hangs. I had to remove the home/.ivy2 directory and start over. And now all of the dependencies are slowly downloading again over a dodgy internet cafe connection. 

Is there some flag to the ant build that says "just pretend everything is downloaded"? 





Re: Lucene build & ivy problems

Posted by Lance Norskog <go...@gmail.com>.
Yes. That's what I thought. And that is how it should work. But that is not what happened. Ivy did not need to resolve anything, but it called out to a resolver which it could not see. After that, it called out over and over. I had to completely re-download everything. Since a full download worked, I think it boogered up its cache and then confused itself. 

Lance 

----- Original Message -----

| From: "Uwe Schindler" <uw...@thetaphi.de>
| To: dev@lucene.apache.org
| Sent: Monday, October 22, 2012 12:03:35 AM
| Subject: RE: Lucene build & ivy problems

| It only downloads on the first try, later builds never download
| anything unless dependencies have changed. And if you would be able
| to * not * download them, your build would not succeed.

RE: Lucene build & ivy problems

Posted by Uwe Schindler <uw...@thetaphi.de>.
It only downloads on the first try, later builds never download anything unless dependencies have changed. And if you would be able to *not* download them, your build would not succeed.

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

http://www.thetaphi.de <http://www.thetaphi.de/> 

eMail: uwe@thetaphi.de

 

From: Lance Norskog [mailto:goksron@gmail.com] 
Sent: Monday, October 22, 2012 5:03 AM
To: dev@lucene.apache.org
Subject: Lucene build & ivy problems

 

If I have all of the dependencies downloaded, how can I tell the build to skip checking the repositories?

I'm working on a somewhat dodgy internet connection. I ran 'ant example' a hundred times. On the 101st, I had an internet outage and the Ivy stuff blocked. Ever after that the resolver hangs. I had to remove the home/.ivy2 directory and start over. And now all of the dependencies are slowly downloading again over a dodgy internet cafe connection.

Is there some flag to the ant build that says "just pretend everything is downloaded"?