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 2007/12/28 11:54:43 UTC

[jira] Resolved: (IVY-685) Remove cache attribute on Ant tasks

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

Xavier Hanin resolved IVY-685.
------------------------------

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

I've removed the cache attribute from Ant tasks, keeping the setter which raises an exception asking user to report problems on this issue.

I've also removed this option from all engines options, so that now the cache managers are defined at only one location:
- global in the settings for the resolution cache manager
- per dependency resolver for the repository cache manager


> Remove cache attribute on Ant tasks
> -----------------------------------
>
>                 Key: IVY-685
>                 URL: https://issues.apache.org/jira/browse/IVY-685
>             Project: Ivy
>          Issue Type: Task
>          Components: Ant
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0-beta-2
>
>
> Most tasks have a cache attribute (undocumented, but existing since very first versions of Ivy) and so do all major services methods (like resolve, publish, ...). This is a problem to address IVY-399, because it implies defining a cache root (which wouldn't necessarily have a meaning with IVY-399) from many different points.
> After having asked on the mailing list, nobody seems opposed to remove this:
> http://www.nabble.com/Cache-root-on-tasks-to14033823.html#a14033823
> Hence I will remove this attribute, and raise a specific error if used to ask people to comment on this issue if they actually use this.
> So if you are using this attribute, please comment on this issue and tell us what you are using it for.

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