ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gintas Grigelionis (JIRA)" <>
Subject [jira] [Commented] (IVY-1315) Ant ivy:publish task generates incomplete ivy.xml
Date Tue, 09 Jan 2018 15:55:00 GMT


Gintas Grigelionis commented on IVY-1315:

Since the behaviour of Ivy is underspecified, I'll use the principle of smallest code change:
the attributes are taken into account, but written in dependencies element. The suggested
usage/workaround is using extension instead of inclusion; then the attributes are processed

> Ant ivy:publish task generates incomplete ivy.xml
> -------------------------------------------------
>                 Key: IVY-1315
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.2.0
>         Environment: Windows 7, Ivy 2.2.0 - 20100923230623, 
>            Reporter: Robert McAuliffe
>            Assignee: Gintas Grigelionis
>            Priority: Minor
> We have a configurations element in each of our Ivy files that looks like:
> {code:xml}
> <configurations>
>   <include file="${user.home}/.some_ivy_folder/ivyconfigurations.xml"/>
> </configurations>
> {code}
> The referenced configurations xml file contains a single configurations element with
a 'defaultconf' attribute and a number of 'conf' elements.  A given project will build/test
fine, but a dependant project won't work because the ivy.xml file generated by the Ant ivy:publish
task does not contain the 'defaultconf' element. This is despite the fact that it correctly
contains the imported 'conf' elements.

This message was sent by Atlassian JIRA

View raw message