You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "thales (JIRA)" <ji...@apache.org> on 2019/03/06 12:56:00 UTC
[jira] [Commented] (IVY-1586) Retrieves test-library instead of
binary-library
[ https://issues.apache.org/jira/browse/IVY-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785598#comment-16785598 ]
thales commented on IVY-1586:
-----------------------------
In my case the following workaround was the fix:
In ivy.xml, from:
<dependency org="com.thoughtworks.xstream" name="xstream" rev="1.4.4" />
to explicitly stating the qualifier with type jar:
<dependency org="com.thoughtworks.xstream" name="xstream" rev="1.4.4" >
<artifact name="xstream" ext="jar" type="jar"/>
</dependency>
Ant 1.10.3
Eclipse, Version: 2018-12 (4.10.0)
Build id: 20181214-0600
> Retrieves test-library instead of binary-library
> ------------------------------------------------
>
> Key: IVY-1586
> URL: https://issues.apache.org/jira/browse/IVY-1586
> Project: Ivy
> Issue Type: Bug
> Components: Ant
> Affects Versions: 2.5.0-rc1
> 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
> Reporter: Arni Schulze
> Priority: Blocker
> Attachments: Ant_1st_output.txt, Ant_2nd_output.txt, build.xml, ivy.xml
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)