src/java/fr/jayasoft/ivy/IvyNode.java
/**
     * resolve the '*' special configurations if necessary and possible
     */
resolve the '*' special configurations if necessary and possible
resolve the ' * ' special configurations if necessary and possible
private String[] resolveSpecialConfigurations(String[] dependencyConfigurations, IvyNode node) {
        if (dependencyConfigurations.length == 1
                && dependencyConfigurations[0].startsWith("*")
                && node != null
                && node.isLoaded()) {
            String conf = dependencyConfigurations[0];
            if ("*".equals(conf)) {
                return node.getDescriptor().getPublicConfigurationsNames();
            }
            List exclusions = Arrays.asList(conf.substring(2).split("\\!"));
            List ret = new ArrayList(Arrays.asList(node.getDescriptor().getPublicConfigurationsNames()));
            ret.removeAll(exclusions);
            return (String[])ret.toArray(new String[ret.size()]);
        }
        return dependencyConfigurations;
    }
private String [ ] resolveSpecialConfigurations ( String [ ] dependencyConfigurations , IvyNode node ) { if ( dependencyConfigurations . length == 1 && dependencyConfigurations [ 0 ] . startsWith ( "*" ) && node != null && node . isLoaded ( ) ) { String conf = dependencyConfigurations [ 0 ] ; if ( "*" . equals ( conf ) ) { return node . getDescriptor ( ) . getPublicConfigurationsNames ( ) ; } List exclusions = Arrays . asList ( conf . substring ( 2 ) . split ( "\\!" ) ) ; List ret = new ArrayList ( Arrays . asList ( node . getDescriptor ( ) . getPublicConfigurationsNames ( ) ) ) ; ret . removeAll ( exclusions ) ; return ( String [ ] ) ret . toArray ( new String [ ret . size ( ) ] ) ; } return dependencyConfigurations ; }
resolve the '*' special configurations if necessary and possible
resolve the ' * ' special configurations if necessary and possible
// there are exclusions in the configuration
