ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garima Bathla <garima.bat...@gmail.com>
Subject Ivy Pattern question Spring Source repository
Date Wed, 22 Apr 2009 20:20:41 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message