You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Gintas Grigelionis (JIRA)" <ji...@apache.org> on 2017/09/01 04:26:02 UTC
[jira] [Updated] (IVY-1419) ivy:publish ant target with ivy file
with defaultconf generates non-existing configuration
[ https://issues.apache.org/jira/browse/IVY-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gintas Grigelionis updated IVY-1419:
------------------------------------
Description:
When having an ivy.xml with multiple configurations, e.g. x, y, z and a defaultconf containing z. Then when calling the ant target ivy:publish with conf="x", the defaultconf in the generated ant file will still contain a defaultconf containing configuration z. This results in the following exception:
{code}
impossible to publish artifacts for com.example#example;working@machine: java.lang.IllegalStateException: bad ivy file for com.example#example;working@machine: /path/to/file/ivy_generated.xml: java.text.ParseException: Cannot add dependency 'com.example#example;1.0.0.23' to configuration 'z' of module com.example#example;1.2.0.119 because this configuration doesn't exist! in file:/path/to/file/ivy_generated.xml
{code}
was:
When having an ivy.xml with multiple configurations, e.g. x, y, z and a defaultconf containing z. Then when calling the ant target ivy:publish with conf="x", the defaultconf in the generated ant file will still contain a defaultconf containing configuration z. This results in the following exception:
impossible to publish artifacts for com.example#example;working@machine: java.lang.IllegalStateException: bad ivy file for com.example#example;working@machine: /path/to/file/ivy_generated.xml: java.text.ParseException: Cannot add dependency 'com.example#example;1.0.0.23' to configuration 'z' of module com.example#example;1.2.0.119 because this configuration doesn't exist! in file:/path/to/file/ivy_generated.xml
> ivy:publish ant target with ivy file with defaultconf generates non-existing configuration
> ------------------------------------------------------------------------------------------
>
> Key: IVY-1419
> URL: https://issues.apache.org/jira/browse/IVY-1419
> Project: Ivy
> Issue Type: Bug
> Components: Ant, Core
> Affects Versions: 2.3.0
> Environment: Ubuntu Linux 12.04, java 7
> Reporter: Nick H. Lauritsen
>
> When having an ivy.xml with multiple configurations, e.g. x, y, z and a defaultconf containing z. Then when calling the ant target ivy:publish with conf="x", the defaultconf in the generated ant file will still contain a defaultconf containing configuration z. This results in the following exception:
> {code}
> impossible to publish artifacts for com.example#example;working@machine: java.lang.IllegalStateException: bad ivy file for com.example#example;working@machine: /path/to/file/ivy_generated.xml: java.text.ParseException: Cannot add dependency 'com.example#example;1.0.0.23' to configuration 'z' of module com.example#example;1.2.0.119 because this configuration doesn't exist! in file:/path/to/file/ivy_generated.xml
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)