From ivy-user-return-1452-apmail-incubator-ivy-user-archive=incubator.apache.org@incubator.apache.org Wed Aug 15 18:51:32 2007 Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 77896 invoked from network); 15 Aug 2007 18:51:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 18:51:31 -0000 Received: (qmail 60728 invoked by uid 500); 15 Aug 2007 18:51:28 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 60710 invoked by uid 500); 15 Aug 2007 18:51:28 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 60701 invoked by uid 99); 15 Aug 2007 18:51:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 11:51:28 -0700 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.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 18:51:23 +0000 Received: by wa-out-1112.google.com with SMTP id n4so46813wag for ; Wed, 15 Aug 2007 11:51:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YRy0XHmePur5qFS/iciEhzX5LQlTBOkcg+dwYIsJcmDND16KwpspGtymcM7ktDXM6YIVEvGTQS2v6IS8o5qeIYFz1n5tHFmPmKc43IDwgcNdoqFVgMiRfjh7i+5Ltr2IV4f45YDQcyBQjHbyYU6jkINIDzdGOd5JAtj44OK5D4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=A9ddH3NbFv5foWcmoJ2Ke0GpVVffDctycHUZAa+8eQhHu8Ui5wB22Zz0DgxOGCzDI56mtcAWZRgK3ADJpndLZPEOSaxTIwVjOv9Pm0AiI9w6wTYVk068eSdtgVIhmat8euylYNcW9drhGeAspiniE5E10TUid48QyhMVKcZeJTY= Received: by 10.114.175.16 with SMTP id x16mr913046wae.1187203862166; Wed, 15 Aug 2007 11:51:02 -0700 (PDT) Received: by 10.114.120.20 with HTTP; Wed, 15 Aug 2007 11:51:02 -0700 (PDT) Message-ID: <635a05060708151151w55da1686sff76d46a26baf85c@mail.gmail.com> Date: Wed, 15 Aug 2007 20:51:02 +0200 From: "Xavier Hanin" To: ivy-user@incubator.apache.org Subject: Re: Configurations really hard to understand In-Reply-To: <6.2.5.6.2.20070815193855.02c7d1f0@bea.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38192_11334528.1187203862132" References: <12053693.post@talk.nabble.com> <6.2.5.6.2.20070814122628.02c79fd0@bea.com> <87282422.20070814170342@gmail.com> <46C3317D.1080101@gmail.com> <635a05060708151029y5afce993m4da36e407737a91e@mail.gmail.com> <46C342FB.1090208@gmail.com> <6.2.5.6.2.20070815193855.02c7d1f0@bea.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_38192_11334528.1187203862132 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/15/07, Andy Piper wrote: > > Yeah, so this is what I need too and am doing with virtual modules > (with a section. It feels a little contrived however, > and I agree this particular use-case should be much simpler to > define. The simple things should be easy and complicated things > possible. Right now ivy configurations are very powerful, but not > ever simple from my POV... Do you see a way to make them simpler, besides better documentation? It's difficult to see how complex conf mapping is from my POV (as being at the origin of this concept), so I think an easier solution should better come from the community. Xavier andy > > At 19:16 15/08/2007, Jeffrey Blattman wrote: > >i've never needed Ivy configurations. i need what maven has, and > >that's how i tried to apply it. i always understood configurations > >to be a generalized version of maven scopes as you are calling them. > >in fact i think i read that someone in the ivy docs. > > > >all i want to do is > > > >1. define a config > >2. be able to associate a config w/ a dependency > >3. be able to reference the dependencies by config name in > >ivy:resolve, retrieve, cachpath, etc > > > >i.e., configs are just a grouping of dependencies. > > > >it just seems like configurations could be greatly simplified to do > >the above and still handle 98% of the use cases. you don't need to > >"->" syntax do this for example. > > > >Xavier Hanin wrote: > >>On 8/15/07, Jeffrey Blattman wrote: > >> > >>>i don't mean to rain on dmitry's great explanation, but i think this > >>>might be the crux of the problem. there is one way to do it on maven, > >>>and no one has any questions about it. i to was / am confused by > >>>configurations in Ivy. > >>> > >> > >> > >>Not sure to get what you are meaning. Do you mean that we should only > >>provide one way to specify configuration mapping, or that we should > simply > >>not provide flexible configuration mapping as we do? Maven has no > concept of > >>configuration, they have scopes which are predefined and do not allow > things > >>as flexible as you can do with Ivy. But maybe providing an easy to use > >>configuration mapping in Ivy could help users who don't want to take > care > >>about understanding the real flexibility of configurations. > >> > >>Xavier > >> > >>Dmitriy Korobskiy wrote: > >> > >>>>2. How to specify this mapping? There are many ways in Ivy to do it. > >>>> > >>>Let's start > >>> > >>>>with explicit abbreviated mapping for each dependency: > >>>> > >>>> > >>>> > >> > >> > >> > >> > > > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual or > entity named in this message. If you are not the intended recipient, and > have received this message in error, please immediately return this by email > and then delete it. > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_38192_11334528.1187203862132--