Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 21934 invoked from network); 29 Dec 2007 14:23:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2007 14:23:21 -0000 Received: (qmail 63209 invoked by uid 500); 29 Dec 2007 14:23:09 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 63185 invoked by uid 500); 29 Dec 2007 14:23:09 -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 63173 invoked by uid 99); 29 Dec 2007 14:23:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2007 06:23:09 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Dec 2007 14:22:44 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J8caO-0008VS-Le for ivy-user@incubator.apache.org; Sat, 29 Dec 2007 06:22:48 -0800 Message-ID: <14537954.post@talk.nabble.com> Date: Sat, 29 Dec 2007 06:22:48 -0800 (PST) From: hdockter To: ivy-user@incubator.apache.org Subject: Unwanted remote lookup of (cached) module descriptor MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mail@dockter.biz X-Virus-Checked: Checked by ClamAV on apache.org I'm not completely happy with the resolve speed of my dependencies. All my artifacts and module descriptors are in the cache. Ivy finds the cached module descriptor, but goes through my resolver chain until it finds the corresponding module descriptor in one of the repositories. As these are internet repositories quite often my build is even stalled because of that. If I'm offline everythings works very fast. I'd love to have this offline experience when I'm online :). This is my ivysettings.xml and a snippet of the debug output of the build. Is there anything I can configure to avoid the remote lookup? [ivy:cachepath] == resolving dependencies org.gradle#gradle;working@hans-dockters-computer-7.local->net.sourceforge.cobertura#cobertura;1.9 [build->default] [ivy:cachepath] loadData of net.sourceforge.cobertura#cobertura;1.9 of rootConf=build [ivy:cachepath] using default to resolve net.sourceforge.cobertura#cobertura;1.9 [ivy:cachepath] default: no latest strategy defined: using default [ivy:cachepath] local: no namespace defined: using system [ivy:cachepath] pre 1.3 ivy file: using exactOrRegexp as default matcher [ivy:cachepath] found ivy file in cache for net.sourceforge.cobertura#cobertura;1.9 (resolved by maven2): /Users/hans/.ivy2/cache/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] found module in cache but with a different resolver: discarding: net.sourceforge.cobertura#cobertura;1.9; expected resolver=local; resolver=maven2 [ivy:cachepath] local: no latest strategy defined: using default [ivy:cachepath] trying /Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/ivys/ivy.xml [ivy:cachepath] tried /Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/ivys/ivy.xml [ivy:cachepath] local: resource not reachable for net.sourceforge.cobertura#cobertura;1.9: res=/Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/ivys/ivy.xml [ivy:cachepath] trying /Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/jars/cobertura.jar [ivy:cachepath] tried /Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/jars/cobertura.jar [ivy:cachepath] local: resource not reachable for net.sourceforge.cobertura#cobertura;1.9: res=/Users/hans/.ivy2/local/net.sourceforge.cobertura/cobertura/1.9/jars/cobertura.jar [ivy:cachepath] local: no ivy file nor artifact found for net.sourceforge.cobertura#cobertura;1.9 [ivy:cachepath] sf_ivy: no namespace defined: using system [ivy:cachepath] pre 1.3 ivy file: using exactOrRegexp as default matcher [ivy:cachepath] found ivy file in cache for net.sourceforge.cobertura#cobertura;1.9 (resolved by maven2): /Users/hans/.ivy2/cache/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] found module in cache but with a different resolver: discarding: net.sourceforge.cobertura#cobertura;1.9; expected resolver=sf_ivy; resolver=maven2 [ivy:cachepath] sf_ivy: no latest strategy defined: using default [ivy:cachepath] trying http://cradle.sourceforge.net/repository/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] tried http://cradle.sourceforge.net/repository/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] CLIENT ERROR: Not Found url=http://cradle.sourceforge.net/repository/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] HTTP response status: 404 url=http://cradle.sourceforge.net/repository/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] sf_ivy: resource not reachable for net.sourceforge.cobertura#cobertura;1.9: res=http://cradle.sourceforge.net/repository/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] sf_ivy: no ivy file nor artifact found for net.sourceforge.cobertura#cobertura;1.9 [ivy:cachepath] maven2: no namespace defined: using system [ivy:cachepath] pre 1.3 ivy file: using exactOrRegexp as default matcher [ivy:cachepath] found ivy file in cache for net.sourceforge.cobertura#cobertura;1.9 (resolved by maven2): /Users/hans/.ivy2/cache/net.sourceforge.cobertura/cobertura/ivy-1.9.xml [ivy:cachepath] maven2: revision in cache: net.sourceforge.cobertura#cobertura;1.9 [ivy:cachepath] found net.sourceforge.cobertura#cobertura;1.9 in maven2 -- View this message in context: http://www.nabble.com/Unwanted-remote-lookup-of-%28cached%29-module-descriptor-tp14537954p14537954.html Sent from the ivy-user mailing list archive at Nabble.com.