ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Romaniuc" <a.roman...@gmail.com>
Subject Re: m2compatible in artifacts and ivys
Date Sat, 23 Feb 2008 20:38:19 GMT
Wouldnt it be a good idea this attribute, instead of creating chains
just for replace dots by slashes?

just my 2 cents


On Thu, Feb 21, 2008 at 4:34 PM, Xavier Hanin <xavier.hanin@gmail.com> wrote:
> 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/
>



-- 
Alan R.

Mime
View raw message