Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 86865 invoked from network); 15 Oct 2007 13:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 13:45:36 -0000 Received: (qmail 41479 invoked by uid 500); 15 Oct 2007 13:45:23 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 41463 invoked by uid 500); 15 Oct 2007 13:45:23 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 41453 invoked by uid 99); 15 Oct 2007 13:45:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 06:45:23 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 13:45:23 +0000 Received: by wa-out-1112.google.com with SMTP id n4so5151843wag for ; Mon, 15 Oct 2007 06:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Bw+BWEisX//IPLtog6voJgO1eZMhGhdjS4Ycw9zDPws=; b=tdN2GraqHLa3yKuYi/Momn2eAcwI4FGsWDffersYnFBePlmwsuhdhg+NzWU2dwbJsas/5wgnOOTZ7B9YIJHDXTXOvZ8H4rt9YUVuRWFJiCiB/szvd8XMK5Eqpz9NNd0THFXuiTOqwDv8V/z2rcN7+Or1d4JldBwtgBmkIqX2YYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=de+UMGKbQBMDuBDwYxAtnANNE794ZBtx2tm/7Jzsr9vhr3vmjq5BI18qrrOtGK7EzhAf0JlMglkyOa4NlTdJ6XRdNsUpER8UIy6dHcERy+R9V2orT68j/mSWfh9XtVdmNdoR7jjNsgSqr0ouk/hfn8nBPFDDvzXeS4WUdWZKa30= Received: by 10.114.81.1 with SMTP id e1mr7012385wab.1192455902085; Mon, 15 Oct 2007 06:45:02 -0700 (PDT) Received: by 10.114.124.10 with HTTP; Mon, 15 Oct 2007 06:45:02 -0700 (PDT) Message-ID: <635a05060710150645s10d2087dl3bbfb4dba50e5ed8@mail.gmail.com> Date: Mon, 15 Oct 2007 15:45:02 +0200 From: "Xavier Hanin" To: ivy-user@incubator.apache.org Subject: Re: Extremely Slow to Resolve In-Reply-To: <13201631.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31998_11088475.1192455902080" References: <13201631.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31998_11088475.1192455902080 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/14/07, mguadagna wrote: > > > Hello ivy-users, > > In our effort to abandon Maven2 as soon as possible, we are trying Ant+Ivy > which seems to be much more *flexible* with less magic than Maven. > > I have downloaded and tried the examples of both jayasoft ivy 1.4 and > apache-ivy-2.0.0-alpha2-incubating. So far, they both work just fine on > Windows (with proxy) and Mac OS X (no proxy) and I am pleased with all I > am > reading that ivy can do. However, In all cases, it takes an extremely long > time to resolve the dependencies. > > For example, hello-ivy takes 13 minutes to build. And, > build-a-ivy-repository (basic) is similar. > > Of course, after first build, when the cache is used, the times drop to > mere > seconds. > > Is this the normal? I can't believe it is. Indeed, this is not normal. I am trying to do things as vanilla as possible, following the install, and > simply running the src/examples as-is (no modification whatsoever, and > just > typing 'ant'). And, I've verified my browser can hit the repository sites > and the speed is fine in the browser. That's weird. I'd think this is related to the response time from the server, but if things go well from your browser, I see no reason why it's so slow with Ivy. What you can still do is try using a mirror instead of default maven repo. In the multiple resolvers tutorial, for instance, you can replace the mere ibilio resolver in the settings by one with another root: This is only an example, use the closest mirror from you. What you can also do is setup your own repository and things should work much better. And since there are multiple good reasons to have an enterprise repository (see our best practice page), it's not wasted time anyway :-) Xavier -- > View this message in context: > http://www.nabble.com/Extremely-Slow-to-Resolve-tf4622650.html#a13201631 > Sent from the ivy-user mailing list archive at Nabble.com. > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_31998_11088475.1192455902080--