Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-170

Log messages do not display most specfic resolver name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3-RC1
    • 1.4-RC1
    • Core
    • None
    • Ivy 1.3 RC1, Ant 1.6.5

    Description

      The log messages and the dependcy reports always reference a chain resolver name, instead of the specific child resolver. This is the config:
      <ivyconf>
      <conf defaultResolver="epr" defaultCache="/home/jira/.ivy-cache" defaultLatestStrategy="latest-revision"/>
      <resolvers>
      <chain name="epr" returnFirst="true">
      <filesystem name="localfs">
      <ivy
      pattern="/../../../infrastructure/ivyrep/[organisation]/[module]/ivy-[revision].xml"/>
      <artifact
      pattern="/../../../infrastructure/ivyrep/[organisation]/[module]/[type]s/[artifact]-[revision].[type]"/>
      </filesystem>
      <chain name="remote_chain" dual="true">
      <url name="shared" checkmodified="true">
      <ivy
      pattern="http://whatever/ivyrep/[organisation]/[module]/ivy-[revision].xml"/>
      <artifact
      pattern="http://whatever/ivyrep/[organisation]/[module]/[artifact]-[revision].[type]"/>

      </url>
      <url name="ivy_sandbox" checkmodified="true">
      <ivy
      pattern="http://opensvn.csie.org/ivyrepsandbox/[organisation]/[module]/ivy-[revision].xml"/>
      </url>
      <ibiblio name="ibiblio"/>
      </chain>
      </chain>
      </resolvers>
      </ivyconf>
      This is a snip from the output:
      ...
      found [ apache | commons-lang | 2.1 ] in remote_chain
      found [ apache | commons-collections | 3.1 ] in remote_chain
      found [ apache | commons-digester | 1.6 ] in remote_chain
      found [ apache | commons-beanutils | 1.6.1 ] in remote_chain
      found [ apache | commons-logging | 1.0.3 ] in remote_chain
      ...

      This is a snip from a verbose ant log:
      CLIENT ERROR: Not Found url=http://whatever/ivyrep/apache/commons-lang/ivy-2.1.xml
      shared: no ivy file found for [ apache | commons-lang | 2.1 ]: using default data
      tried http://whatever/ivyrep/apache/commons-lang/ivy-2.1.xml
      ivy_sandbox: found md file for [ apache | commons-lang | 2.1 ]
      => http://opensvn.csie.org/ivyrepsandbox/apache/commons-lang/ivy-2.1.xml (2.1)
      ivy_sandbox: found revision in cache: [ apache | commons-lang | 2.1 ]: but it's a default one, maybe we can find a better one
      found [ apache | commons-lang | 2.1 ] in remote_chain

      Attachments

        Activity

          People

            xavier Xavier Hanin
            tarik Tarik Idris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: