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: m2compatible in artifacts and ivys
Date Thu, 21 Feb 2008 19:34:54 GMT
On Wed, Feb 20, 2008 at 11:08 PM, Alan Romaniuc <a.romaniuc@gmail.com>
wrote:

> Hi
>
> Is it possible to set m2compatible per children in resolvers?
>
>
> <url name="two-patterns-example">
>  <ivy m2compatible="true"
> pattern="
> http://ivyrep.mycompany.com/[module]/[revision]/ivy-[revision].xml<http://ivyrep.mycompany.com/%5Bmodule%5D/%5Brevision%5D/ivy-%5Brevision%5D.xml>
> "
> />
>  <artifact m2compatible="true"
> pattern="
> http://ivyrep.mycompany.com/[module]/[revision]/[artifact]-[revision].[ext]<http://ivyrep.mycompany.com/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>
> "
> />
>  <artifact m2compatible="false"
> pattern="http://ivyrep.mycompany.com/[module]/[revision]/[artifact].[ext]<http://ivyrep.mycompany.com/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D.%5Bext%5D>
> "
> />
> </url>
>
No, you can't do that, but can pretty easily create a chain made up of
resolvers with different m2compatible settings.

Xavier

>
>
> Thx in advance
>
>
>
> --
> Alan R.
>



-- 
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