ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-437) setting m2compatible on ibiblio resolver overwrite root and pattern settings
Date Thu, 03 Apr 2008 20:09:24 GMT

    [ 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.


Mime
View raw message