Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 69944 invoked from network); 12 Mar 2007 02:54:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2007 02:54:38 -0000 Received: (qmail 14802 invoked by uid 500); 12 Mar 2007 02:54:47 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 14761 invoked by uid 500); 12 Mar 2007 02:54:46 -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 14722 invoked by uid 99); 12 Mar 2007 02:54:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Mar 2007 19:54:46 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of billy.bacon@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Mar 2007 18:54:35 -0800 Received: by ug-out-1314.google.com with SMTP id y2so2446929uge for ; Sun, 11 Mar 2007 19:54:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=b3eVE0OpEXM9NXMeedHxmfhbVTkopM56HY9rltBia+4wGJbOAZUgvQ7db9xFDR3H5w1Q7OeXi9AOMPAfVhlhQ/iZHwvNiSOXT0HvVWgDo3mGWCB/BssN6GL5sQeINhURPml02nrK77NJWtY7OTH6BzpgveQI3b+9CUT26PUMUv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=gQiBm+8G+QKgk1NBgaJ+jkm00j872MXhePcEZiXHqDNlb8HTDzDx7RMZNGt4TQU28tPuFUPYRAg+/59xhgn+vPVTKWVNyap8dsMjjSks2tpkaEh/nk6gJ5by8dfDZFXWf3BNNIfGYwAs0mTVRM+5UUrTGm7Ukqxrhbiv3N6KDcM= Received: by 10.70.60.7 with SMTP id i7mr9328110wxa.1173668052698; Sun, 11 Mar 2007 19:54:12 -0700 (PDT) Received: by 10.64.156.13 with HTTP; Sun, 11 Mar 2007 19:54:12 -0700 (PDT) Message-ID: <6f111e780703111954g344a4ffejfc122d126278df4b@mail.gmail.com> Date: Sun, 11 Mar 2007 20:54:12 -0600 From: "Billy Bacon" Reply-To: billy.bacon@gmail.com To: ivy-user@incubator.apache.org Subject: Using the ivy cache as a fall back if you don't have an internet connection MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6452_246455.1173668052650" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6452_246455.1173668052650 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I scanned through the FAQ and documentation and couldn't find exactly what I was looking for so I decided to ask the user community. I just started at a company that's using ivy and their current configuration uses an ssh resolver to access a company repository. This works great when you have an internet connection but completely hangs the build if you are working completely locally and don't have access to the company LAN. I'm wondering if anyone out there is using a solution for this problem. My thought/hope is that a dual resolver? can be used which would do the following... Use the ssh resolver first... and set a timeout for like maybe 5 seconds. If the timeout is reached, the next resolver would point to the users cache (.ivy/cache) and use the libraries already downloaded from the repository (from a previous build). I know the users cache could be 'stale' in a sense but our libraries don't change much and this type of configuration would allow users to work 'offline' in a sense and complete their build. I see there's a resolver but the examples I've found don't access a users local cache and the sorta throws me off... If anyone could send me an example of how to accomplish this, that would be awesome! Thanks so much. - bb - ------=_Part_6452_246455.1173668052650--