Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 60349 invoked from network); 7 Feb 2008 10:34:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 10:34:22 -0000 Received: (qmail 46906 invoked by uid 500); 7 Feb 2008 10:34:14 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 46885 invoked by uid 500); 7 Feb 2008 10:34:14 -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 46876 invoked by uid 99); 7 Feb 2008 10:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 02:34:14 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 209.85.198.191 as permitted sender) Received: from [209.85.198.191] (HELO rv-out-0910.google.com) (209.85.198.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 10:33:44 +0000 Received: by rv-out-0910.google.com with SMTP id k15so2171241rvb.40 for ; Thu, 07 Feb 2008 02:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=6hczsap5bDDSGQV09O0IuB/5uun2+HXEA8SbrpKLPuo=; b=RcKApK1Ymm5/KaCfI1dp1WV1aoT7mHIKoBOY8/nDCeuUKzK+6Rf70KMWalNaDcChypdvkMDKHpRlYZGQCcizTJBGyioOcQGkuNZe/wul+/yVFXJzwf6Bl8BXD0DzA0CrYUiBcyZdrSUclmiRgTONKrai/Dx8tIOQdVWBOIIMTkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=yDtEJ1rNl3HDUH8b+pmyAjlJXJErpia74mCpkREZjYnLaiVgmzpJnE7hjbezBK9Pj2Xdvp1PEhf0Ld7GpX01zh9Yu9buaBVoBlMT8BhaEYb4TWqmsBI2nso+6iKIdO3Pq5EkU9ofW3+IXMuMdYmwyhjrxLUxZaR1YSNcB+NDWAU= Received: by 10.140.179.25 with SMTP id b25mr7432028rvf.117.1202380431547; Thu, 07 Feb 2008 02:33:51 -0800 (PST) Received: by 10.141.171.19 with HTTP; Thu, 7 Feb 2008 02:33:51 -0800 (PST) Message-ID: <635a05060802070233m40026f4ch5133de98d97edcb4@mail.gmail.com> Date: Thu, 7 Feb 2008 11:33:51 +0100 From: "Xavier Hanin" To: ivy-user@ant.apache.org, dbenua@panix.com Subject: Re: Configuration from remote repositories In-Reply-To: <47AADD4D.8040108@panix.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19448_32590259.1202380431560" References: <47AA27DE.1040705@panix.com> <635a05060802061353w6a70c9aerd49a4d1dcaa2fc46@mail.gmail.com> <47AA51B6.20808@panix.com> <635a05060802070054i7fb2959dk5f7ac3ee2b3f3483@mail.gmail.com> <47AADD4D.8040108@panix.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19448_32590259.1202380431560 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 7, 2008 11:28 AM, David Benua wrote: > Xavier, > > In my usage scenario, any sub-project that needs to "publish" (i.e. a > reusable library module) will need BOTH resolvers. They will use the > HTTP resolver to "retrieve" their dependencies, and the SFTP resolver to > "publish" their artifacts after a build. > > Subprojects which don't publish (because their code isn't re-used by > other applications / customers) just "retrieve" from HTTP, they don't > need SFTP at all. (These subprojects are still in SVN, just not in Ivy). > > I did this for 2 reasons: > 1) Performance of the HTTP resolver is much faster, and some of our > users are a long way away over slow VPN or SSH connections. > 2) We can give wide access to everybody (HTTP allows public > reading/browsing) and control updates more tightly. It makes a lot of sense, I misunderstood your use case. Xavier > > > Dave > > > Xavier Hanin wrote: > > > > Since only one of the two resolvers is used at a time (if I understand > > correctly), I'd rather define only one in two different settings files > > (with the same name), and include either one or the other file depending > > on the environment. You can do this with a naming convention for the > > file name and using a property to define which file to load. But it's > > mainly a matter of taste, behavior should be the same. > > > > Xavier > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_19448_32590259.1202380431560--