Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 63232 invoked from network); 10 Apr 2009 21:35:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2009 21:35:02 -0000 Received: (qmail 8541 invoked by uid 500); 10 Apr 2009 21:35:02 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 8468 invoked by uid 500); 10 Apr 2009 21:35:02 -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 8458 invoked by uid 99); 10 Apr 2009 21:35:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 21:35:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garima.bathla@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 21:34:53 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1233423wfc.10 for ; Fri, 10 Apr 2009 14:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=uPYzqnYAMQwCJaAxizY5BK91rQZ5apTBaM6+J2SiTgU=; b=NtHTh/PaZ5VDljtrAOFbKp9vAIpAV0y98ArRYnJJ2WTg098wtFT6ECFunC4R4SGgDa OFbQSGjsat598LbT1RciTxcUQqPRAFEtPMXtDrX3SSJXV6O5zUyYQRYEmQJjHRJGRH2/ ENZLZReXbdRPrCBoaFALTQg48QAZMgpFZEAJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XXa6gW74jiNUTIPIkLw3E2XGJokGfyzaavOYllEY7WSPwpSH2aTvWATdu1qf0cEmQo HjYiTjNXkAB24zEDyzT5SGVGdTYqjEPvFL613CfTlpyAQ5UM/yyKigtkzM3uIlbxPFz0 DbTd6sh1GWeibrJR7xPJ25e8I6hG+r6x+UrUQ= MIME-Version: 1.0 Received: by 10.142.44.11 with SMTP id r11mr1441993wfr.145.1239399272299; Fri, 10 Apr 2009 14:34:32 -0700 (PDT) In-Reply-To: <25143.80626.qm@web30805.mail.mud.yahoo.com> References: <1fb30820904091726v74b581e1i1e480a65b39f5275@mail.gmail.com> <25143.80626.qm@web30805.mail.mud.yahoo.com> Date: Fri, 10 Apr 2009 14:34:32 -0700 Message-ID: <1fb30820904101434r23e168d1udc8e837fa2d18e53@mail.gmail.com> Subject: Re: Custom Cache Managers From: Garima Bathla To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=000e0cd311a25c3e0504673a216b X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd311a25c3e0504673a216b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks Maarten, Looks like there might be an issue either with the documentation : Because as per the documentation I cannot insert any xml tag under caches tag, if I could then I will be able to configure the cache manager as you said. But in Apache Ivy R 2 C1 there can only be a cache element defined under caches, and not any xml element http://ant.apache.org/ivy/history/2.1.0-rc1/settings/caches/cache.html Unlike On Fri, Apr 10, 2009 at 2:22 PM, Maarten Coene wrote: > > I'm not sure, but I think you can do it like this: > > > > > > > > > Here the cache with name "yyy" will be your custom cache-manager. > > Maarten > > > > > ----- Original Message ---- > From: Garima Bathla > To: ivy-user@ant.apache.org > Sent: Friday, April 10, 2009 2:26:09 AM > Subject: Custom Cache Managers > > Hello, > > I am in a process of creating my own custom cache managers and I am little > confused reading the documentation. As per documentation, I can define my > custom cache manager via type def and classpath. Also as per documentation > the caches element lets you configure the default cache manager or you can > create multiple new definitions of cache managers based on the default > cache > manager in the child element of caches - i.e. cache element. But I am > confused on how exactly the custom cache manager that I created via typedef > tag can be registered as a Cache Manager before it can be used. > > > e.g. > > > > >