Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 83808 invoked from network); 18 Aug 2008 12:59:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2008 12:59:47 -0000 Received: (qmail 93397 invoked by uid 500); 18 Aug 2008 12:59:45 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 93226 invoked by uid 500); 18 Aug 2008 12:59:44 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 93215 invoked by uid 99); 18 Aug 2008 12:59:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 05:59:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rodgertq@mac.com designates 17.148.16.90 as permitted sender) Received: from [17.148.16.90] (HELO asmtpout015.mac.com) (17.148.16.90) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 12:58:47 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed; delsp=yes Received: from [10.176.230.199] (mobile-032-136-225-101.mycingular.net [32.136.225.101]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K5S0097MS2MD720@asmtp015.mac.com> for ivy-user@ant.apache.org; Mon, 18 Aug 2008 05:59:16 -0700 (PDT) Message-id: From: Thomas Rodgers To: "ivy-user@ant.apache.org" In-reply-to: X-Mailer: iPhone Mail (5B108) Subject: Re: offline builds Date: Mon, 18 Aug 2008 07:59:23 -0500 References: X-Virus-Checked: Checked by ClamAV on apache.org It's not exactly pretty but I do this by having filesystem resolvers for everything I use in an ivy settings file I use offline. I keep an rsynced copy of my upstream dependecies locally on the laptop. Thomas Rodgers On Aug 18, 2008, at 7:53 AM, Mark.Birenbaum@bpsinc.com wrote: > Has anyone tried doing a completely offline (e.g., on a laptop that's > not got any network connection) build with Ivy with out using > different > targets that avoid actually calling Ivy? > > I figure with the dynamic version resolution caching in beta2, this > should be possible, but it seems like it's not caching the version > resolutions. > > > > > > > > > > This is what I have for my cache, which I would think would mean that > I'd be able to do offline builds, as long there was a previous build > that was successful. But Ivy still tries to talk to the repos for > dynamic version resolution. > > > > > I'm seeing this in my debug log: > > [ivy:resolve] artifactory: Checking cache for: dependency: > commons-collections#commons-collections;[2.1,) {compile=[compile(*), > master(*)], runtime=[runtime(*)]} > [ivy:resolve] no cached resolved revision for > commons-collections#commons-collections;[2.1,) > > > I'm wondering if this is a problem because I'm using Windows and the > "[2.1,)" is causing problems. Glancing through the caching code, it > looks to me like it's looking for a properties file with "[2.1,)" in > its > name (I can't find any code that's escaping the comma). > >