ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jaikiran pai (JIRA)" <>
Subject [jira] [Commented] (IVY-1507) Ant retrieve task returns inconsistent jar order
Date Fri, 02 Jun 2017 02:51:04 GMT


jaikiran pai commented on IVY-1507:

AFAIK, there isn't a deterministic order for the artifacts retrieved by the retrieve task.

> Ant retrieve task returns inconsistent jar order
> ------------------------------------------------
>                 Key: IVY-1507
>                 URL:
>             Project: Ivy
>          Issue Type: Question
>          Components: Ant, Core
>    Affects Versions: 2.3.0, 2.4.0
>         Environment: Red Hat Linux RHEL 5
>            Reporter: Ron Knight
> 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
> 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

This message was sent by Atlassian JIRA

View raw message