Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 88798 invoked from network); 12 May 2010 19:10:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 May 2010 19:10:41 -0000 Received: (qmail 80781 invoked by uid 500); 12 May 2010 19:10:41 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 80613 invoked by uid 500); 12 May 2010 19:10:41 -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 80605 invoked by uid 99); 12 May 2010 19:10:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 19:10:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [69.146.0.70] (HELO mailhost.mt.sri.com) (69.146.0.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 May 2010 19:10:33 +0000 Received: from peony.local (unknown [10.255.222.130]) by mailhost.mt.sri.com (Postfix) with ESMTPA id 1D004124E2C for ; Wed, 12 May 2010 13:11:40 -0600 (MDT) Message-ID: <4BEAFD13.3060702@sri.com> Date: Wed, 12 May 2010 13:10:11 -0600 From: Valerie Wagner User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: ivy-user@ant.apache.org Subject: Re: Can I dynamically change the "defaultResolver"? References: <4BE9B0F0.6040202@sri.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Mitch & Geoff. I actually went with something similar to Geoff's solution. Now I have a new problem. We host our third-party libraries on "our-ivy-server". When I build the system, they are downloaded and cached. When I switch to the "local" settings, the Ivy resolve fails to find the third-party libraries because "our-ivy-server" is not part of the local settings. Or perhaps Ivy does find them in the cache, but it puts out the message "unknown resolver our-ivy-server" a few times during the resolve process. The only thing I have thought of so far is to make the local settings have another filesystem resolve in it, called "our-ivy-server" but have it point at the cache directory. That seems ugly as well. Anyone have another idea? thanks much for the help! Valerie