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

Ant retrieve task returns inconsistent jar order

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0, 2.4.0
    • None
    • Ant, Core
    • None
    • Red Hat Linux RHEL 5

    Description

      Is it expected behavior that path variables set by the retrieve task will have an inconsistent ordering, or is this a bug?

      I am using the retrieve task within an Ant script and setting a path variable. When I run the script on Win7 the path contains the jars in the order in which they are listed in the ivy.xml file; however, when i run the script on Linux, the order of the two jars is reversed.

      I have two dependencies in a "test" configuration....JMockit and JUnit. My "test" conf is the first conf listed. JMockit is listed as the first dependency and JUnit is listed as the second dependency.

      Due to the nature of the jars in use, the order of the entries in the path variable important.

      I've also cleared the .ivy2 cache several times just to be sure that I am getting fresh resolutions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mr.monkey Ron Knight
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: