ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis Boudart <jeanlouis.boud...@gmail.com>
Subject Re: Ivy /Artifactory repository and libraries names
Date Fri, 24 Jun 2011 12:00:28 GMT
Hi Jerome,

You can force Ivy to store library names with the pattern you by using
<ivy:retrieve> task (see
http://ant.apache.org/ivy/history/trunk/use/retrieve.html)

<ivy:retrieve pattern="${lib.dir}/[organisation]-[artifact].[ext]" />



Cheers,

2011/6/24 jerome moliere <jerome.moliere@gmail.com>

> Hi all,
> I found a work around for my previous problem but now while compiling
> a module I 've got javac errors , analysing the ant -debug output I
> can see that my library folder just contains names (as defined in the
> dependency ivy tag) for each one of the library, this is where my
> problem comes because in the dependencies list for this module I 'm
> using 2 libraries with the same name coming from 2 different
> organizations sso my classpath contains a single library instead of
> both ...
>
> Can I force Ivy to store library names adding organization and version
>  using a pattern like : [org]-[name]-[version].jar  instead of
> [name].jar in the lib folder ?
>
> Thanks for your help
> Regards
> jerome
> J.MOLIERE - Mentor/J
> auteur Eyrolles
>



-- 
Jean Louis Boudart
Independent consultant
Project Lead http://www.easyant.org

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