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 2008/03/18 14:19:24 UTC

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

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
            Reporter: Carlton Brown
             Fix For: 2.0.0-beta-2


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.


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

Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
     [ 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.


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

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

Xavier Hanin updated IVY-777:
-----------------------------

    Affects Version/s: 2.0.0-beta-2
        Fix Version/s:     (was: 2.0.0-beta-2)
                       2.0

> 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
>             Fix For: 2.0
>
>
> 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.


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

Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579841#action_12579841 ] 

Gilles Scokart commented on IVY-777:
------------------------------------

How does it relate to IVY-774 ?

> 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
>            Reporter: Carlton Brown
>             Fix For: 2.0.0-beta-2
>
>
> 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.


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

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

Xavier Hanin reassigned IVY-777:
--------------------------------

    Assignee: Xavier Hanin

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