ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerome moliere <jerome.moli...@gmail.com>
Subject Re: Ivy /Artifactory repository and libraries names
Date Fri, 24 Jun 2011 12:04:59 GMT
Thanks a lot jean Louis..
I'm about running my build once again I think it will be OK now
J.MOLIERE - Mentor/J
auteur Eyrolles





2011/6/24 Jean-Louis Boudart <jeanlouis.boudart@gmail.com>:
> 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
View raw message