You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Ron Knight (JIRA)" <ji...@apache.org> on 2015/01/09 00:15:34 UTC
[jira] [Created] (IVY-1507) Ant retrieve task returns inconsistent
jar order
Ron Knight created IVY-1507:
-------------------------------
Summary: Ant retrieve task returns inconsistent jar order
Key: IVY-1507
URL: https://issues.apache.org/jira/browse/IVY-1507
Project: Ivy
Issue Type: Question
Components: Ant, Core
Affects Versions: 2.4.0, 2.3.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 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)