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/15 18:47:34 UTC

[jira] Resolved: (IVY-700) move useOrigin to repository cache manager

     [ https://issues.apache.org/jira/browse/IVY-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin resolved IVY-700.
------------------------------

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

I've done the change as detailed in the issue, except that I don't use a variable for the useOrigin default value, but a settings that can be configured on the caches element too.

> move useOrigin to repository cache manager
> ------------------------------------------
>
>                 Key: IVY-700
>                 URL: https://issues.apache.org/jira/browse/IVY-700
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-beta-2
>
>
> As it has already been discussed on mailing lists, having useOrigin as an attribute on the resolve / retrieve tasks doesn't make much sense, especially now that cache management has been reviewed. Indeed, this is a property of how caching should be done, and as such should be part of the settings of repository cache manager.
> Therefore useOrigin attribute will be deprecated on resolve / post resolve tasks, where it will only set a variable which will be used as default for the useOrigin parameter of repository cache manager implementation. Thus the behavior will be slightly different compared to 1.4, settings useOrigin once will actually change the default for the whole resolution process, which shouldn't be too much a problem though.

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