You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Willem Verstraeten (JIRA)" <ji...@apache.org> on 2010/03/02 17:21:27 UTC

[jira] Created: (IVY-1174) resolved module can include configurations of evicted versions

resolved module can include configurations of evicted versions
--------------------------------------------------------------

                 Key: IVY-1174
                 URL: https://issues.apache.org/jira/browse/IVY-1174
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0-RC2
            Reporter: Willem Verstraeten


Scenario:

module_parent, with two revisions:
  1.0, which has configurations default and runtime, where default extends runtime
  1.0.3, which only has configuration default

module_middle, which depends on module_parent:1.0
module_between, which depends on module_parent:1.0.3

module_entry, which depends on module_middle and module_between

When resolving module_entry, version 1.0 of module_parent will be evicted, but ivy will complain about module_parent not having a runtime configuration. Apparently, ivy has mashed the configurations from the 1.0 version (which was evicted) with those of 1.0.3, where there actually is no runtime configuration.

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


[jira] Updated: (IVY-1174) resolved module can include configurations of evicted versions

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-1174:
-------------------------------

    Fix Version/s:     (was: 2.2.0-RC1)

I cannot reproduce the problem.
Could you provide an example ivy.xml for both your module_parent, module_middle, module_between and module_entry?


> resolved module can include configurations of evicted versions
> --------------------------------------------------------------
>
>                 Key: IVY-1174
>                 URL: https://issues.apache.org/jira/browse/IVY-1174
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC2
>            Reporter: Willem Verstraeten
>
> Scenario:
> module_parent, with two revisions:
>   1.0, which has configurations default and runtime, where default extends runtime
>   1.0.3, which only has configuration default
> module_middle, which depends on module_parent:1.0
> module_between, which depends on module_parent:1.0.3
> module_entry, which depends on module_middle and module_between
> When resolving module_entry, version 1.0 of module_parent will be evicted, but ivy will complain about module_parent not having a runtime configuration. Apparently, ivy has mashed the configurations from the 1.0 version (which was evicted) with those of 1.0.3, where there actually is no runtime configuration.

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


[jira] Updated: (IVY-1174) resolved module can include configurations of evicted versions

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene updated IVY-1174:
-------------------------------

    Fix Version/s: 2.2.0-RC1

> resolved module can include configurations of evicted versions
> --------------------------------------------------------------
>
>                 Key: IVY-1174
>                 URL: https://issues.apache.org/jira/browse/IVY-1174
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC2
>            Reporter: Willem Verstraeten
>             Fix For: 2.2.0-RC1
>
>
> Scenario:
> module_parent, with two revisions:
>   1.0, which has configurations default and runtime, where default extends runtime
>   1.0.3, which only has configuration default
> module_middle, which depends on module_parent:1.0
> module_between, which depends on module_parent:1.0.3
> module_entry, which depends on module_middle and module_between
> When resolving module_entry, version 1.0 of module_parent will be evicted, but ivy will complain about module_parent not having a runtime configuration. Apparently, ivy has mashed the configurations from the 1.0 version (which was evicted) with those of 1.0.3, where there actually is no runtime configuration.

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


[jira] Commented: (IVY-1174) resolved module can include configurations of evicted versions

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841570#action_12841570 ] 

Maarten Coene commented on IVY-1174:
------------------------------------

Could you please try this with current trunk version?
It contains some changes about eviction and configurations.

Maarten

> resolved module can include configurations of evicted versions
> --------------------------------------------------------------
>
>                 Key: IVY-1174
>                 URL: https://issues.apache.org/jira/browse/IVY-1174
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC2
>            Reporter: Willem Verstraeten
>
> Scenario:
> module_parent, with two revisions:
>   1.0, which has configurations default and runtime, where default extends runtime
>   1.0.3, which only has configuration default
> module_middle, which depends on module_parent:1.0
> module_between, which depends on module_parent:1.0.3
> module_entry, which depends on module_middle and module_between
> When resolving module_entry, version 1.0 of module_parent will be evicted, but ivy will complain about module_parent not having a runtime configuration. Apparently, ivy has mashed the configurations from the 1.0 version (which was evicted) with those of 1.0.3, where there actually is no runtime configuration.

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


[jira] Updated: (IVY-1174) resolved module can include configurations of evicted versions

Posted by "John McCarthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John McCarthy updated IVY-1174:
-------------------------------

    Attachment: IVY-1174.zip

I've reproduced this issue with build #216 from Ivy's Hudson,
    https://hudson.apache.org/hudson/view/Ant/job/Ivy/216/
The attached project tests for this issue matching the provided description.  Ivy is evicting module_parent 1.0.0 for revision 1.0.3 but is retaining the configuration for 1.0.0 and attempting to apply it to 1.0.3, which appears inappropriate.

> resolved module can include configurations of evicted versions
> --------------------------------------------------------------
>
>                 Key: IVY-1174
>                 URL: https://issues.apache.org/jira/browse/IVY-1174
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC2
>            Reporter: Willem Verstraeten
>         Attachments: IVY-1174.zip
>
>
> Scenario:
> module_parent, with two revisions:
>   1.0, which has configurations default and runtime, where default extends runtime
>   1.0.3, which only has configuration default
> module_middle, which depends on module_parent:1.0
> module_between, which depends on module_parent:1.0.3
> module_entry, which depends on module_middle and module_between
> When resolving module_entry, version 1.0 of module_parent will be evicted, but ivy will complain about module_parent not having a runtime configuration. Apparently, ivy has mashed the configurations from the 1.0 version (which was evicted) with those of 1.0.3, where there actually is no runtime configuration.

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