src/java/fr/jayasoft/ivy/DefaultDependencyDescriptor.java
/**
     * only works when namespace is properly set. The behaviour is not specified if namespace is not set
     */
only works when namespace is properly set. The behaviour is not specified if namespace is not set
only works when namespace is properly set . The behaviour is not specified if namespace is not set
public boolean doesExclude(String[] moduleConfigurations, ArtifactId artifactId) {
        if (_namespace != null) {
            artifactId = NameSpaceHelper.transform(artifactId, _namespace.getFromSystemTransformer());
        }
        DependencyArtifactDescriptor[] dads = getDependencyArtifactsExcludes(moduleConfigurations);
        for (int i = 0; i < dads.length; i++) {
            if (MatcherHelper.matches(dads[i].getMatcher(), dads[i].getId(), artifactId)) {
                return true;
            }
        }        
        return false;
    }
public boolean doesExclude ( String [ ] moduleConfigurations , ArtifactId artifactId ) { if ( _namespace != null ) { artifactId = NameSpaceHelper . transform ( artifactId , _namespace . getFromSystemTransformer ( ) ) ; } DependencyArtifactDescriptor [ ] dads = getDependencyArtifactsExcludes ( moduleConfigurations ) ; for ( int i = 0 ; i < dads . length ; i ++ ) { if ( MatcherHelper . matches ( dads [ i ] . getMatcher ( ) , dads [ i ] . getId ( ) , artifactId ) ) { return true ; } } return false ; }
only works when namespace is properly set.
only works when namespace is properly set .