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.

-- Niklas Matthies

Reply via email to