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: specify versions separate from dependencies
Date Fri, 28 Mar 2008 17:43:21 GMT
On Fri, Mar 28, 2008 at 6:38 PM, Niklas Matthies <ml_ivy-user@nmhq.net>
wrote:

> On Fri 2008-03-28 at 17:24h, Xavier Hanin wrote on ivy-user:
> > FYI, I've just checked in code which uses the proposed syntax. Here's an
> > extract of an ivy file used in ivy file parsing test:
> >     <dependencies>
> >         [...]
> >         <dependency org="yourorg" name="yourmodule11" rev="11.1"
> conf="*->@"/>
> >
> >         <hints>
> >             <exclude module="*servlet*" matcher="glob" conf="myconf1" />
> >             <exclude org="acme" module="test" artifact="test"
> type="source" ext="jar" />
> >             <conflict org="yourorg" module=".*" matcher="regexp"
> manager="all" />
> >             <conflict org="theirorg" module="theirmodule1" rev="1.0, 1.1
> "/>
> >             <override org="yourorg" module=".*1" matcher="regexp"
> branch="BRANCH" rev="1.0" />
> >         </hints>
> >     </dependencies>
> :
> > This is still open to discussion, if you have better ideas for the
> syntax,
> > or a better name than 'hints', please give feedback before we cut next
> > release.
>
> How about just placing these elements directly under <dependencies>?
> This would read pretty natural to me.

It would at least avoid to find a better word than "hints" :-) I'm fine with
putting them directly under dependencies. What do others think?

Xavier

>
>
> -- Niklas Matthies
>



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

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