You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Carlton Brown (JIRA)" <ji...@apache.org> on 2009/01/28 20:22:59 UTC

[jira] Created: (IVY-1022) Forced resolver behavior is inappropriate for ivy:install

Forced resolver behavior is inappropriate for ivy:install
---------------------------------------------------------

                 Key: IVY-1022
                 URL: https://issues.apache.org/jira/browse/IVY-1022
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.0
            Reporter: Carlton Brown


I tried to install a certain revision of a module from a chained resolver to an fs resolver, and observed that Ivy installed a revision other than what I specified.   After investigation I noticed that the chain contained a forced fs resolver.   I removed the forced resolver from the chain, replacing it with an equivalent un-forced fs resolver.   The install worked correctly after that.   

I think that ivy:install should not be doing any dynamic version resolution at all.   It should in every case use the literal module identifiers that are passed to it.   This being the case, install should ignore a force attribute wherever it is encountered.

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


[jira] Resolved: (IVY-1022) Forced resolver behavior is inappropriate for ivy:install

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

Maarten Coene resolved IVY-1022.
--------------------------------

         Assignee: Maarten Coene
    Fix Version/s: 2.2.0-RC1
       Resolution: Duplicate

I think this seems a duplicate of IVY-1159 which should be fixed now.
Please reopen if I'm mistaken here...

Maarten

> Forced resolver behavior is inappropriate for ivy:install
> ---------------------------------------------------------
>
>                 Key: IVY-1022
>                 URL: https://issues.apache.org/jira/browse/IVY-1022
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: 2.0
>            Reporter: Carlton Brown
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
>
>
> I tried to install a certain revision of a module from a chained resolver to an fs resolver, and observed that Ivy installed a revision other than what I specified.   After investigation I noticed that the chain contained a forced fs resolver.   I removed the forced resolver from the chain, replacing it with an equivalent un-forced fs resolver.   The install worked correctly after that.   
> I think that ivy:install should not be doing any dynamic version resolution at all.   It should in every case use the literal module identifiers that are passed to it.   This being the case, install should ignore a force attribute wherever it is encountered.

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


[jira] Commented: (IVY-1022) Forced resolver behavior is inappropriate for ivy:install

Posted by "Carlton Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668972#action_12668972 ] 

Carlton Brown commented on IVY-1022:
------------------------------------

I think this should be default behavior.   Can you think of any valid use case where install chooses a different revision than the user specified?   To me, this seems to break the intended use of install, though I could be wrong.

> Forced resolver behavior is inappropriate for ivy:install
> ---------------------------------------------------------
>
>                 Key: IVY-1022
>                 URL: https://issues.apache.org/jira/browse/IVY-1022
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: 2.0
>            Reporter: Carlton Brown
>
> I tried to install a certain revision of a module from a chained resolver to an fs resolver, and observed that Ivy installed a revision other than what I specified.   After investigation I noticed that the chain contained a forced fs resolver.   I removed the forced resolver from the chain, replacing it with an equivalent un-forced fs resolver.   The install worked correctly after that.   
> I think that ivy:install should not be doing any dynamic version resolution at all.   It should in every case use the literal module identifiers that are passed to it.   This being the case, install should ignore a force attribute wherever it is encountered.

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


[jira] Updated: (IVY-1022) Forced resolver behavior is inappropriate for ivy:install

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

Xavier Hanin updated IVY-1022:
------------------------------

    Issue Type: Improvement  (was: Bug)

I don't classify this as a bug, because if you use a forced resolver in your source resolver chain, it's not that much a bug what happen. It's more a settings problem IMHO. But having an easy way to prevent forced resolvers from being forced during install could be an interesting improvement.

> Forced resolver behavior is inappropriate for ivy:install
> ---------------------------------------------------------
>
>                 Key: IVY-1022
>                 URL: https://issues.apache.org/jira/browse/IVY-1022
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Ant
>    Affects Versions: 2.0
>            Reporter: Carlton Brown
>
> I tried to install a certain revision of a module from a chained resolver to an fs resolver, and observed that Ivy installed a revision other than what I specified.   After investigation I noticed that the chain contained a forced fs resolver.   I removed the forced resolver from the chain, replacing it with an equivalent un-forced fs resolver.   The install worked correctly after that.   
> I think that ivy:install should not be doing any dynamic version resolution at all.   It should in every case use the literal module identifiers that are passed to it.   This being the case, install should ignore a force attribute wherever it is encountered.

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