ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IVY-1206) extra attributes lost from info when ivy file is merged with parent
Date Sun, 01 Jan 2012 14:29:30 GMT

     [ https://issues.apache.org/jira/browse/IVY-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-1206.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

I've committed a fix in SVN trunk that should solve the issue. Could you give it a try?
                
> extra attributes lost from info when ivy file is merged with parent
> -------------------------------------------------------------------
>
>                 Key: IVY-1206
>                 URL: https://issues.apache.org/jira/browse/IVY-1206
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.2.0-RC1, 2.2.0
>         Environment: OS: Ubuntu 10.04
> Java: 1.6.0_20-b02
> Ant: 1.8.0
>            Reporter: Timothy Bingaman
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: IVY-1206.zip
>
>
> This is in relation to the new "extends" functionality in 2.2.0-rc1.
> When publishing an ivy file that extends a parent ivy file (using the default setting
of merging the files), any extra attributes get dropped.  This happens regardless of whether
the extra attributes are in the child ivy file, parent ivy file, or both.
> Ideally, all extra attributes would undergo the same merge process as all the standard
attributes (allowing them to be inherited from parent to child.  But at the very least, they
should not be removed from the child ivy file.
> Example:
> info section in original ivy file
> {noformat}
> <info module="core-util" e:sourceurl="${svn.info.url}" e:sourcerev="${svn.info.wcversion}"
e:user="${user.name}">
>     <extends organisation="our-organisation" module="our-parent" revision="latest.integration"/>
> </info>
> {noformat}
> info section in published (merged) ivy file
> {noformat}
> <info organisation="our-organisation" module="core-util" branch="trunk" revision="2.2.51-SNAPSHOT.r30249"
status="integration" publication="20100714140802">
>     <!-- <extends organisation="our-organisation" module="our-parent" revision="working@mycomputer"/>
-->
>     
>     <!-- description inherited from parent -->
>     <description></description>
> </info>
> {noformat}
> As you can see, all the "e:*" attributes have been dropped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message