You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/04/03 22:09:24 UTC

[jira] Commented: (IVY-437) setting m2compatible on ibiblio resolver overwrite root and pattern settings

    [ https://issues.apache.org/jira/browse/IVY-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585270#action_12585270 ] 

Xavier Hanin commented on IVY-437:
----------------------------------

I had to mostly revert the changes, the problem is that by overriding the root value when the default one is used in ensureConfigured make the default value never actually used. But now that I think more about that, I'm not sure to understand what the problem is supposed to be with current implementation. Jing, could you tell us more about what you want to achieve, and what goes wrong?

> setting m2compatible on ibiblio resolver overwrite root and pattern settings
> ----------------------------------------------------------------------------
>
>                 Key: IVY-437
>                 URL: https://issues.apache.org/jira/browse/IVY-437
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>         Attachments: m2root_override.patch
>
>
> Setting m2compatible="true" on an ibiblio resolver overwrites the root and pattern settings, even if they were set manually. Depending on the order of attributes and the xml parser used, the result is varying (if setM2compatible is called before setRoot, the configured root will be used, otherwise it's the default value for m2compatible which will be used!

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