ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Configurations really hard to understand
Date Thu, 16 Aug 2007 07:26:43 GMT
On 8/15/07, Matthias Kilian <kili@outback.escape.de> wrote:
>
> On Wed, Aug 15, 2007 at 08:48:06PM +0200, Xavier Hanin wrote:
> > Maybe configuration mapping is too difficult to understand... I agree
> that
> > maven 2 scopes are easier to use for average users, at least until you
> reach
> > their limitations (if ever).
>
> Well, I prefer to use my own configurations and arbitraty configuration
> mappings, even if I *could* abuse maven2 scopes. And I'm pretty
> sure that I've already some cases where I really need configuration
> mappings, but I'd to check our Ivy repo to be sure. (I should write
> a short survey of how we're using Ivy anyways, but that'll take
> some time)


The result of the survey would be very interesting, I hope you'll be able to
share it with the community.

Xavier

> Therefore we should maybe provide a set of
> > configurations and the associated mapping (something similar to maven 2
> > scopes maybe), and still make it possible to use your own conf mapping.
> In
> > this case users not needing specific things could almost ignore
> > configuration mapping.
> >
> > What do you think?
>
> Would some kind of include mechanism for sets of default conf mappings
> be feasible? Something like
>
>         <dependencies defaultconfmappingset="${some_url_or_file}">
>         ...
>         </dependencies>
>
> ${some_url_or_file} then would define all the conf mappings used.
>
> Since configurations and conf mappings tend to be very policy-driven
> (on a per-organisation or per-projectgroup base), this would give
> maximum flexibility without hard-wiring some automagic stuff into
> Ivy.
>
> Of course, this is just a rough idea; the available configurations
> should be defined in ${some_url_or_file}, too, so the dependencies
> element probably isn't the best place to include it.
>
> Ciao,
>         Kili
>
> --
> Bad English is the international language ;)
>                 -- Gerardo Santana Gómez Garrido in misc@openbsd.org
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message