ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlton Brown (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-1022) Forced resolver behavior is inappropriate for ivy:install
Date Fri, 30 Jan 2009 18:43:03 GMT

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


Mime
View raw message