ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Ivy Pattern question Spring Source repository
Date Thu, 23 Apr 2009 01:31:21 GMT
In the case of ivy.xml files, [artifact] is replaced with "ivy" and
[ext] with xml.

Regards,
Antoine


Garima Bathla wrote:
> Hello,
>
> This question is basically related to the way SpringSource suggests users to
> configure ivysettings to use enterprise bundle repository.
>
> As Per Spring Source: (As per the FAQ:
> http://www.springsource.com/repository/app/faq#q7) - to use EBR with Ivy
> following resolver needs to be added:
>
> <url name="com.springsource.repository.bundles.release" >
>     <*ivy pattern="
> http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/release/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>"
> />*
>    <artifact pattern="
> http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/release/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>"
> />
> </url>
> <url name="com.springsource.repository.bundles.external ">
>    *<ivy pattern="
> http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/external/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>"
> /> *
>   <artifact pattern="
> http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://repository.springsource.com/ivy/bundles/external/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D>"
> />
> </url>
>
>
> My Question is regarding the highlighted ivy pattern above - it ends with
> [artifact]-[revision].[ext]
>
> How exactly Can Ivy look up for ivy.xml for a given module if ivy-pattern is
> set the way it has been suggested in the FAQ :
>
> e.g. In the link
> http://s3browse.com/explore/reposito...1.0.0.RELEASE/<http://s3browse.com/explore/repository.springsource.com/ivy/bundles/release/com.springsource/com.springsource.json/1.0.0.RELEASE/>please
> check the naming style for ivy.xml and I don't understand the magic
> on how Ivy with the given ivy pattern ( ending in [artifact].[ext]) resolves
> this to ivy-1.0.0.RELEASE.xml<http://s3browse.com/getObject/repository.springsource.com/ivy/bundles/release/com.springsource/com.springsource.json/1.0.0.RELEASE/ivy-1.0.0.RELEASE.xml>
> ?
>
>
> I am just confused on how exactly can this name file be looked up with the
> suggested ivy pattern? I have posted this on Spring forum as well, and
> trying to ivy-user list now!
>
>
> Thanks,
> Garima.
>
>   


Mime
View raw message