From dev-return-82224-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Mon Feb 11 08:20:38 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 19937 invoked from network); 11 Feb 2008 08:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2008 08:20:37 -0000 Received: (qmail 46473 invoked by uid 500); 11 Feb 2008 08:20:30 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 46436 invoked by uid 500); 11 Feb 2008 08:20:30 -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 46425 invoked by uid 99); 11 Feb 2008 08:20:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 00:20:30 -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.190 as permitted sender) Received: from [209.85.198.190] (HELO rv-out-0910.google.com) (209.85.198.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 08:19:58 +0000 Received: by rv-out-0910.google.com with SMTP id k15so3192817rvb.40 for ; Mon, 11 Feb 2008 00:20:05 -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=4u9055vDM+u4iVUc1Y39AHhSiFLnOpl9o1Xlmc0CfaY=; b=u0GGyJt0yO33R/MbdOK/SVOWGi928rdB8igj66DfjSVKZkeMvPmhsvsjRJ8S9Lu7bJoqZpRmup7PGjUfsuwlx4hIV8RzIVL2Dc2jtr4lSs2uBBZpCJbrHr2EJvTrOtYb10zBgtUkH7zqpSFRR1gs++p6wAjQH09kE1thS9fivdc= 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=lbFrjyaIDiNyQEasX1PMS9ME/Xef+hTmVU5pyiQv6tYitsrraepYwQDpshpKVu2ecahm5pqGalXcax0xjNh9Y6EqZPgdqPe+Ep+lYhOgp7DUcp/HIS53prauI9aNHjjRq3MhIsRZQ+iGbpJZY1HaJ71iat88+K3aWdMJZJGm3kk= Received: by 10.141.88.3 with SMTP id q3mr10403252rvl.94.1202718005549; Mon, 11 Feb 2008 00:20:05 -0800 (PST) Received: by 10.141.171.19 with HTTP; Mon, 11 Feb 2008 00:20:05 -0800 (PST) Message-ID: <635a05060802110020m1e4f9aa8g99574cc64c0b42ff@mail.gmail.com> Date: Mon, 11 Feb 2008 09:20:05 +0100 From: "Xavier Hanin" To: "Ant Developers List" Subject: Re: [DISCUSS] release Ivy 2.0.0-beta2? In-Reply-To: <83dae1610802102218l3c403d82necc72fa580028e84@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24066_10475393.1202718005198" References: <635a05060802100052t23c05cfase409a90ea0768fc6@mail.gmail.com> <83dae1610802101118o5713ba9cu44a92124a751b290@mail.gmail.com> <635a05060802101224w164aa22et511612f771318b9e@mail.gmail.com> <83dae1610802102218l3c403d82necc72fa580028e84@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24066_10475393.1202718005198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Feb 11, 2008 7:18 AM, Adrian Sandor wrote: > On Feb 11, 2008 4:24 AM, Xavier Hanin wrote: > > > > - 3 tags for cache configuration: settings, caches and cache > > > > The settings on the settings tag are mainly due to legacy. We could > indeed > > deprecate them to move all cache settings to the caches element. cache > > element should now only the defition of one cache, so I don't see how we > > could avoid that. > > > I also said "cache" tags could be ok as they are now. Two tags (caches and > cache) are acceptable. > > > > > - inconsistent/confusing attributes on the settings tag: defaultCache > > and > > > resolutionCacheDir - different naming styles although they're both > > > directories; and both of them specify the resolution cache but > > > defaultCache > > > also specifies the repository cache? > > > > Yes, this is a legacy problem, but I agree it's confusing. Maybe we can > > rename it to defaultCacheDir, and deprecate defaultCache. > > > So, if I understand correctly, right now settings/defaultCache is the > default for both resolution and repository cache; > settings/resolutionCacheDir overrides it for resolution, caches/basedir > overrides it for repository, and cache/basedir overrides caches/basedir > (for > repository). Exactly, and I agree this is confusing :-) > > Perhaps we can move settings/resolutionCacheDir to > caches/resolutionCacheDir, rename caches/basedir to > caches/repositoryCacheDir, and either remove settings/defaultCache or move > it to caches/defaultCacheDir. It makes sense. For defaultCache, I think we need to keep and rename it, for Ivy 1.x users who where used to it (and it eases the way to define where all Ivy cache data goes, which is the most common use case. Do anybody else see any problem with these changes? > > > > - some confusion between "defaultCache" on settings, "default" on > > caches, > > > and "default-cache" > > > > Again, if we rename defaultCache in defaultCacheDir, I think this would > be > > less confusing. Would this be enough in your opinion? > > > It would definitely help. Probably good enough, if the docs are clear. > > > > > - ivy and artifact patterns everywhere > > > > What's the problem with that? Could you elaborate? > > > settings/cacheIvyPattern and settings/cacheArtifactPattern vs > caches/ivyPattern and caches/artifactPattern, they're redundant. Indeed, and I've actually deprecated settings/cache*, except that I forgot to update the doc. > > > Also these have changed since beta 1 (cache/repositoryIvyPattern and > cache/repositoryArtifactPattern), and so did the resolution/repository dir > attributes. Change itself is not bad, we should just make sure the new way > is really better. You're right, but with eyeballs of a new user who is not corrupted by several years of Ivy experience I'm pretty sure we'll find a good way to make this clear enough! Thanks again for your feedback. Xavier > > > Adrian > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_24066_10475393.1202718005198--