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

Retrieves test-library instead of binary-library

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-rc1
    • Fix Version/s: 2.5.0
    • Component/s: Ant
    • Labels:
      None
    • Environment:

      Eclipse Photon 4.8.0 64bit

      Ant 1.10.3.v20180417-1627

      Apache IvyDE 2.2.0.final-201311091524-RELEASE

      Apache Ivy 2.5.0.cr1_20180412005306

      Description

      If I delete the local Ivy cache and run my Ant script to retrieve "ch.quos.logback logback-classic 1.2.3" I get the correct library and its dependencies (see Ant_1st_output).

      But if I run the Ant script again (now having a local Ivy cache) it retrieves the test-library and the test-library of the dependencies instead of the correct ones (see Ant_2nd_output).

      I added minimalistic ivy.xml and Ant script. Because of the different behavior of the first and every other run, I think this is a bug in Ivy.

        Attachments

        1. Ant_1st_output.txt
          2 kB
          Arni Schulze
        2. Ant_2nd_output.txt
          2 kB
          Arni Schulze
        3. build.xml
          0.3 kB
          Arni Schulze
        4. ivy.xml
          0.4 kB
          Arni Schulze
        5. ivy-1586-test.zip
          0.9 kB
          Sebastian Nagel

          Issue Links

            Activity

              People

              • Assignee:
                jaikiran Jaikiran Pai
                Reporter:
                a.schulze Arni Schulze
              • Votes:
                7 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: