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/01/04 17:02:52 UTC

[jira] Created: (IVY-691) use ModuleRevisionId instead of ModuleId in IvySettings#getResolver

use ModuleRevisionId instead of ModuleId in IvySettings#getResolver
-------------------------------------------------------------------

                 Key: IVY-691
                 URL: https://issues.apache.org/jira/browse/IVY-691
             Project: Ivy
          Issue Type: Improvement
          Components: Core
            Reporter: Xavier Hanin
            Assignee: Xavier Hanin


Currently to get the dependency resolver for a module one use the IvySettings#getResolver(ModuleId moduleId). 

Checking the current usage of this method, all callers actually have a ModuleRevisionId when calling the method. Using the ModuleRevisionId instead of the ModuleId would allow more specific resolver assignment, like resolvers depending on the version (this require to be careful since the version may not be resolved yet when asking) and also resolvers depending on extra attributes which open the door to many use cases.

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


[jira] Resolved: (IVY-691) use ModuleRevisionId instead of ModuleId in IvySettings#getResolver

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

Xavier Hanin resolved IVY-691.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2

I've made the change, and updated the settings parser to be able to use this new feature. Usage is documented in the configuration/module page.

> use ModuleRevisionId instead of ModuleId in IvySettings#getResolver
> -------------------------------------------------------------------
>
>                 Key: IVY-691
>                 URL: https://issues.apache.org/jira/browse/IVY-691
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-beta-2
>
>
> Currently to get the dependency resolver for a module one use the IvySettings#getResolver(ModuleId moduleId). 
> Checking the current usage of this method, all callers actually have a ModuleRevisionId when calling the method. Using the ModuleRevisionId instead of the ModuleId would allow more specific resolver assignment, like resolvers depending on the version (this require to be careful since the version may not be resolved yet when asking) and also resolvers depending on extra attributes which open the door to many use cases.

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