ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Christie" <>
Subject RE: Dynamic revisions question
Date Mon, 21 Jul 2008 00:27:57 GMT

Thanks for the reply.  I tried adding an ivy pattern to the resolver,
but I'm still getting the same error.  After adding the ivy pattern I
tried specifying the dependency using both the + wildcard as well as
with a version-range expression.  The outcome was the same in both
cases.  I noticed there was a JIRA issue about this, but it was a while
back and it was my impression that this was working in 2.0.0 beta.  I'm
sure it's something on my end, but I can't seem to figure out what it
is.  Maybe I'll see if the Artifactory repository can be made available
as a filesystem share (only available via http right now) and try with a
filesystem resolver.


-----Original Message-----
From: Maarten Coene [] 
Sent: Saturday, July 19, 2008 5:34 AM
Subject: Re: Dynamic revisions question

Could you try adding an ivy-pattern to your artifactory resolver?
It could be that Ivy is having troubles resolving dynamic revisions if
there is no ivy-pattern defined.


----- Original Message ----
From: Jim Christie <>
Sent: Friday, July 18, 2008 11:10:22 PM
Subject: Dynamic revisions  question

I'm having some difficulty getting dynamic revisions working in
v2.0.0-beta2.  Everything works fine as long as I specify a complete
revision number, for example: <dependency org="commons-logging"
name="commons-logging" rev="1.0.4" transitive="false"/>.  However, if I
attempt to specify a dynamic revision, it won't work.  

For example, this:
  <dependency org="commons-logging" name="commons-logging" rev="1.0.+"

Results in this message:
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found:
[ivy:retrieve]  ==== artifactory: tried
[ivy:retrieve]    -- artifact
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: commons-logging#commons-logging;1.0.+: not
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::

My ivysettings.xml looks like this (we specify an enterprise repository
running on Artifactory and ibiblio as a fallback).

  <settings defaultResolver="chained"/>
      <chain name="chained">
        <url name="artifactory">
evision]/[artifact]-[revision].[ext]" />
        <ibiblio name="ibiblio" />

I have tried several work-arounds including using version range syntax,
'latest.integration' and replacing the url resolver with an ibiblio
resolver with its root and pattern attributes set to the specifics for
our enterprise repository, but to no avail.  Again, if I specify a
complete version number, it works fine, so I know that Ivy is set up
correctly.  Any advice on what I'm doing wrong would be greatly
appreciated.  Thanks in advance.



View raw message