Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 17130 invoked from network); 7 Feb 2008 08:55:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 08:55:01 -0000 Received: (qmail 2657 invoked by uid 500); 7 Feb 2008 08:54:54 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 2640 invoked by uid 500); 7 Feb 2008 08:54:53 -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 2626 invoked by uid 99); 7 Feb 2008 08:54:53 -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 00:54:53 -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.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 08:54:23 +0000 Received: by rv-out-0910.google.com with SMTP id k15so2152503rvb.40 for ; Thu, 07 Feb 2008 00:54:29 -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=PBS0yvDoJYp5c2OAw9X9+ahr3t+IJAhQ+mP84R3vDWM=; b=C4AA2k4cicob7hxogTz2TFJkAR7E9AtwICgjJL/qEigpBdaDp2Js1/SU4lVmbqsMEUGsXeTDYYn0RLfSgD2uacX3CtmOjwKqSkM3+5C7/K5EzCrgPS+3GXEQ4C01b4372LIadtDocibHucQS+txrYtn+DuHnwclDzY/TO2xUgts= 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=Xvs9Yjh3JFDp6s+Fapg57xTuFiXiU6jCegYKVZhw9l+27428T0robBBSYCFRsOk8xBUy+dU4PtJxSgXiA9WTis2T9UJEvOHfbPpAan7K3OhqSnCkSzXyIS74MwJ1JUYNwScD9sGZu/A8gSZ/0kTO/2lku6lTSJopioUNjass/xc= Received: by 10.140.88.11 with SMTP id l11mr7350774rvb.237.1202374469194; Thu, 07 Feb 2008 00:54:29 -0800 (PST) Received: by 10.140.225.10 with HTTP; Thu, 7 Feb 2008 00:54:29 -0800 (PST) Message-ID: <635a05060802070054i7fb2959dk5f7ac3ee2b3f3483@mail.gmail.com> Date: Thu, 7 Feb 2008 09:54:29 +0100 From: "Xavier Hanin" To: ivy-user@ant.apache.org, dbenua@panix.com Subject: Re: Configuration from remote repositories In-Reply-To: <47AA51B6.20808@panix.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18361_12089576.1202374469179" References: <47AA27DE.1040705@panix.com> <635a05060802061353w6a70c9aerd49a4d1dcaa2fc46@mail.gmail.com> <47AA51B6.20808@panix.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18361_12089576.1202374469179 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 7, 2008 1:32 AM, David Benua wrote: > Xavier, > > Thanks for the quick turnaround on this. > > I've tried it, and as you said, it works (even if it's not documented). > Here are the settings (so far) in the remote directory: > > > > > > pattern="${ivy.settings.dir}/[organization]/[module]-ivy-[revision].xml" > /> > pattern="${ivy.settings.dir > }/[organization]/[module]/[revision]/[artifact]-[revision].[ext]" > /> > pattern="${ivy.settings.dir > }/[organization]/[module]/[revision]/[artifact].[ext]" > /> > > port="${ivyrepo.port}" user="${ivyrepo.user}" > userPassword="${ivyrepo.password}" > > pattern="${repo.path}/[organization]/[module]-ivy-[revision].xml" /> > > pattern="${repo.path > }/[organization]/[module]/[revision]/[artifact]-[revision].[ext]" > /> > pattern="${repo.path}/[organization]/[module]/[revision]/[artifact].[ext]" > /> > > > 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 > > I've been able to retrieve with both resolvers. I'm sure that I'll have > to add more options once we get going for real. I expect we'll need to > have integration (SNAPSHOT) builds, and separate configurations for > building and testing, so I'm sure this will evolve before we're fully > running. > > > > > (I've also tried specifying > > the settings file url in the or node, and > that > > doesn't work properly: it still looks for ivysettings.xml in my > local > > directory) > > > > This is strange and is clearly a bug. Could you open an issue with more > > details about what you tried? > > All I tried was specifying an HTTP url in the tag. Thinking > about it now, it's not something that really would have helped: we're > going to need some local configuration options, and this approach would > not have worked. > > Dave > > > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_18361_12089576.1202374469179--