From ivy-user-return-4905-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Wed Mar 11 15:29:53 2009 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 22054 invoked from network); 11 Mar 2009 15:29:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 15:29:53 -0000 Received: (qmail 88346 invoked by uid 500); 11 Mar 2009 15:29:52 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 88294 invoked by uid 500); 11 Mar 2009 15:29:52 -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 88283 invoked by uid 99); 11 Mar 2009 15:29:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 08:29:52 -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: local policy) Received: from [69.25.87.29] (HELO compucredit.com) (69.25.87.29) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 15:29:45 +0000 Received: from ([10.24.56.7]) by mail4.compucredit.com with ESMTP id 5503069.163950227; Wed, 11 Mar 2009 11:28:52 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: How to prevent "unknown resolver" errors? Date: Wed, 11 Mar 2009 11:28:52 -0400 Message-ID: In-Reply-To: <708997897.20090309174709@freemail.hu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to prevent "unknown resolver" errors? Thread-Index: Acmg1uQgsy4Xt4TmSqGGtlg7A83VmgBhq9rQ References: <708997897.20090309174709@freemail.hu> From: "Brown, Carlton" To: , "Daniel Dekany" Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org Are you overriding the defaultCache attribute in your ivysettings file,=0D= =0Aor are you just defining caches as attributes of resolvers?=0D=0A=0D=0A-= ----Original Message-----=0D=0AFrom: Daniel Dekany [mailto:ddekany@freemail= =2Ehu] =0D=0ASent: Monday, March 09, 2009 12:47 PM=0D=0ATo: ivy-user@ant=2E= apache=2Eorg=0D=0ASubject: How to prevent "unknown resolver" errors?=0D=0A= =0D=0AI declared own cache for all resolvers that I use, and that solved th= is=0D=0Aproblem for a while=2E But if I resolve something that is also in t= he=0D=0Adefault cache of Ivy (I mean ${user=2Ehome}/=2Eivy2/cache) the proj= ect=0D=0Apollutes or otherwise access it, and that will cause "unknown reso= lver"=0D=0Aerrors again=2E=0D=0A=0D=0AFor example, I store ant#ant in my ow= n repo, called "myResolver", which=0D=0Auses its own cache=2E Still, if the= default cache of Ivy also contains=0D=0Aant#ant (same revision), when I iv= y:resolve in my project,=0D=0A${user=2Ehome}/=2Eivy2/cache/ant/ant/ivydata-= [revision]=2Eproperties is=0D=0Amodified so that it's last line will be res= olver=3DmyResolver=2E Thus, when=0D=0Asomething else than my project uses t= he ${user=2Ehome}/=2Eivy2/cache later=0D=0Ato get ant#ant, I get a "unknown= resolver myResolver" error=2E Why does my=0D=0Aproject touch the default c= ache at all when I set a project-specific=0D=0Acache for all resolvers that= it uses?=0D=0A=0D=0A--=0D=0ABest regards,=0D=0A Daniel Dekany=0D=0A=0D=0A= =0D=0A-----------------------------------------=0D=0A=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D=0AThis mess= age contains PRIVILEGED and CONFIDENTIAL=0D=0Ainformation that is intended = only for use by the =0D=0Anamed recipient=2E If you are not the named recip= ient,=0D=0Aany disclosure, dissemination, or action based on =0D=0Athe cont= ents of this message is prohibited=2E In such=0D=0Acase please notify us an= d destroy and delete all =0D=0Acopies of this transmission=2E Thank you=2E= =0D=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D