You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2008/10/21 00:46:44 UTC

[jira] Resolved: (IVY-951) Correctly set ivy.resolved.configurations property when the conf string includes a negation operator.

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

Maarten Coene resolved IVY-951.
-------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

Thank you for your contribution!
I've applied your patch into SVN trunk.

> Correctly set ivy.resolved.configurations property when the conf string includes a negation operator.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IVY-951
>                 URL: https://issues.apache.org/jira/browse/IVY-951
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.0-RC1
>            Reporter: Patrick Woodworth
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: IVY-951.patch
>
>
> Really this is a continuation of the work begun in IVY-894.  The previous work allowed the resolve task to handle a configuration list with negation operators, by transforming the list during the wildcard fixup.  Unfortunately however, in this type of scenario the ivy.resolved.configurations property is still set to the original string with negation operators intact.  This situation breaks postresolve tasks (e.g. retrieve) that simply reuse the value of the ivy.resolved.configurations property when it's not explicitly passed to the subsequent postresolve task.  The new patch attached to this bug report fixes the issue by appropriately setting the ivy.resolved.configurations with the post-fixup list of configurations.  The patch includes an update to the testcase as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.