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/04/03 16:26:24 UTC

[jira] Resolved: (IVY-777) No error or warning when a resolver references a non-existent cache

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

Xavier Hanin resolved IVY-777.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   2.0-RC1

I've just checked in a fix which validates the settings at the end of their parsing.

> No error or warning when a resolver references a non-existent cache
> -------------------------------------------------------------------
>
>                 Key: IVY-777
>                 URL: https://issues.apache.org/jira/browse/IVY-777
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Carlton Brown
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>
> If a resolver references a cache that has not been previously defined, it should cause an error or at least a warning, but it does neither.  
> For example, this should fail or warn because there is no cache "bar".  It only prints an informational message that cache "bar" was assigned to resolver "myfs".
> <caches>
>   <cache name="foo"/>
> </caches>
> <resolvers>
>  <filesystem name="myfs" cache="bar">
>  ...
> </resolvers>

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