You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Julian (JIRA)" <ji...@apache.org> on 2008/05/22 22:25:56 UTC

[jira] Issue Comment Edited: (IVY-820) Global Exclusions Fail to Work Transitively

    [ https://issues.apache.org/jira/browse/IVY-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599172#action_12599172 ] 

oakridge edited comment on IVY-820 at 5/22/08 1:24 PM:
-----------------------------------------------------

I have done some additionally testing and found that Ivy is indeed resolving these as expected, but since I was not using configurations, the excludes made were being included in the the ivy:cachefileset tag in Ant.  The source is b/c the ivy:cachefileset tag defaults to the "\*" configuration when none is supplied.  This configuration seems to ignore global excludes.  My issue was resolve once I set the conf attribute on the cachefileset tag.  If this is not a bug, then the documentation should clearly indicate that a "\*" configuration overrides global exclude declarations.

      was (Author: oakridge):
    I have done some additionally testing and found that Ivy is indeed resolving these as expected, but since I was not using configurations, the excludes made were being included in the the ivy:cachefileset tag in Ant.  The source is b/c the ivy:cachefileset tag defaults to the "*" configuration when none is supplied.  This configuration seems to ignore global excludes.  My issue was resolve once I set the conf attribute on the cachefileset tag.  If this is not a bug, then the documentation should clearly indicate that a "*" configuration overrides global exclude declarations.
  
> Global Exclusions Fail to Work Transitively
> -------------------------------------------
>
>                 Key: IVY-820
>                 URL: https://issues.apache.org/jira/browse/IVY-820
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>         Environment: Java 6
>            Reporter: Julian
>
> When declaring a global exclusion, the module is excluded only from locally declared dependencies, and not their transitive dependencies.  The only way to exclude a module from an entire project, is to declare the exclusion locally for every dependency that either directly, or through a transitive dependency, relies on the module.  A detailed explanation of this issue can be found on the mailing lists here (first two posts explain the issue more thoroughly): 
> http://www.nabble.com/Global-and-Local-Excludes-Being-Ignored-By-Ivy--Config-Prblm-of-Bug---td17262577.html

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