ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From buzzterrier <terry.je...@gmail.com>
Subject resolver return wrong artifact of status
Date Thu, 09 Oct 2008 23:51:47 GMT

I published two revisions of the same artifact with a release and a milestone
statuses.

In my repository I have:

c:\svnrepos\foo.bar\coreTools\milestone-1.1
coreTools-milestone-1.1.jar
ivy-milestone-1.1.xml

ivy-milestone-1.1.xml contains:
  <info organisation="aero.blue" module="coreTools" revision="milestone-1.1"
status="milestone" publication="20081009160219"/>

and

c:\svnrepos\foo.bar\coreTools\release-1.1
     coreTools-release-1.1.jar
     ivy-release-1.1.xml

ivy-release-1.1.xml contains:
<ivy-module version="1.0">
    <info organisation="aero.blue" module="coreTools" revision="release-1.1"
status="release" publication="20081009160151"/>

So the generated ivy files are correctly recording the status.

When I resolve coreTools from another project with latest.milestone, ivy
returns the release-1.1 artifact. Below is the debug output. The resolver
finds both revisions, but decides to use the release. Any ideas?

 Getting list for svn://subversion/ivy/aero.blue/coreTools/ [revision=-1]
 Adding SVN user/pass authentication
          found 2 resources
  found revs: [milestone-1.1, release-1.1]
 Resolving resource for
svn://subversion/ivy/aero.blue/coreTools/milestone-1.1/ivy-milestone-1.1.xml
[revision=-1]
 Resource found at
svn://subversion/ivy/aero.blue/coreTools/milestone-1.1/ivy-milestone-1.1.xml,
returning resolved resource
 Resolving resource for
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml
[revision=-1]
 Resource found at
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml,
returning resolved resource
  shared: found md file for aero.blue#coreTools;latest.milestone
          =>
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml
(release-1.1)
  parser = ivy parser
  no ivy file in cache for aero.blue#coreTools;release-1.1: tried
C:\tools\ivy\settings\ivy-cache\aero.blue\coreTools\ivy-release-1.1.xml
 downloading
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml ...
  shared: downloading
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml
          to
C:\tools\ivy\settings\ivy-cache\aero.blue\coreTools\ivy-release-1.1.xml.original.part
 Getting file for user webapp from
svn://subversion/ivy/aero.blue/coreTools/release-1.1/ivy-release-1.1.xml
[revision=-1] to
C:\tools\ivy\settings\ivy-cache\aero.blue\coreTools\ivy-release-1.1.xml.original.



-- 
View this message in context: http://www.nabble.com/resolver-return-wrong-artifact-of-status-tp19909555p19909555.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message