From dev-return-82260-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Feb 14 17:22:26 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 55562 invoked from network); 14 Feb 2008 17:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 17:22:26 -0000 Received: (qmail 62421 invoked by uid 500); 14 Feb 2008 17:22:13 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 62380 invoked by uid 500); 14 Feb 2008 17:22:13 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 62365 invoked by uid 99); 14 Feb 2008 17:22:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 09:22:13 -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 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 17:21:41 +0000 Received: by wr-out-0506.google.com with SMTP id c55so700239wra.0 for ; Thu, 14 Feb 2008 09:21:48 -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=+SBTuBB/CncutyffNHhtQQjcGHdaQCftsG8F1+r2GFI=; b=ki7rHJmgi2BT++E2E8d49pjX3ovGE2Vs/g/wEqrfgqYOy7yo4sSlda4Nso7r/Tjflbg6UjGUw9m6MVUNUd4i1PJr/8V2uSZ0QMBWdkDQSbDxXznHFw34YfHjzQZ9ENiajkvkmXdSL4jz3lAgl19L+FDdZi8nqwHQgaRxKRAyvCo= 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=rTW9HUDjPP7VDQKNlRBEKoZGJzvMIdCPG7JPUkG7XX8xPtDckufQyR/w+nJRhZwZ2OlqzRSYA0vDBC3R1sF0VxPy5ni7E+au3Cg9oKTJWUcMcqxvMj+9fbTGFNpEsYH7SGWhidkUJWdbRrsL+EyMwcMZce8R71d5GzwVv9zfTVg= Received: by 10.141.161.6 with SMTP id n6mr1165184rvo.41.1203009707310; Thu, 14 Feb 2008 09:21:47 -0800 (PST) Received: by 10.141.171.19 with HTTP; Thu, 14 Feb 2008 09:21:47 -0800 (PST) Message-ID: <635a05060802140921x77f59ddwb8c004c3d14a624e@mail.gmail.com> Date: Thu, 14 Feb 2008 18:21:47 +0100 From: "Xavier Hanin" To: "Ant Developers List" Subject: Re: [DISCUSS] release Ivy 2.0.0-beta2? In-Reply-To: <83dae1610802140909ma390769j4079c9c68bef4e5e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1458_21876338.1203009707276" References: <635a05060802100052t23c05cfase409a90ea0768fc6@mail.gmail.com> <83dae1610802101118o5713ba9cu44a92124a751b290@mail.gmail.com> <635a05060802101224w164aa22et511612f771318b9e@mail.gmail.com> <83dae1610802102218l3c403d82necc72fa580028e84@mail.gmail.com> <635a05060802110020m1e4f9aa8g99574cc64c0b42ff@mail.gmail.com> <83dae1610802140040u7d992ae2xa1397fc43f2f3e5e@mail.gmail.com> <635a05060802140056i1c12039fm62c8dad1580f1ed6@mail.gmail.com> <83dae1610802140909ma390769j4079c9c68bef4e5e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1458_21876338.1203009707276 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Feb 14, 2008 at 6:09 PM, Adrian Sandor wrote: > On Thu, Feb 14, 2008 at 4:56 PM, Xavier Hanin wrote: > > > > Would you like me to work on it? Or add a comment to IVY-399? > > > > I think we have a little less than a week before we cut the beta2. If > you > > can do the job (code, reference doc and junit changes) in this > timeframe, > > it's more than welcome! > > > Well, I'm working on it. I plan to move *ALL* the cache-related attributes > to the "caches" element (but I'm still keeping the 1.x ones as > deprecated), > let me know if there's any problem. > Anyway, I noticed that the "cache" element is wonderfully documented, > but.. > is completely missing from the code! If I'm wrong, could you show me where > it's getting parsed? The cache element under the caches element is parsed automatically using the same logic as Ant tasks, using the Configurator class. At the beginning of the XmlSettingsParser class you have an array of configuration elements, including caches, which tells Ivy should auto configure the children. Then there'sa typdef.properties making the mapping between the "cache" element name and the DefaultRepositoryCacheManager class. But I suggest putting a breakpoint in the setName of this class and run a unit test doing some settings loading with cache related information, you'll better see what's happening. HTH, Xavier > > > Thanks > Adrian > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_1458_21876338.1203009707276--