src/java/fr/jayasoft/ivy/DefaultDependencyDescriptor.java
/**
     * Transforms the given dependency descriptor of the given namespace and return
     * a new dependency descriptor in the system namespace.
     * 
     * <i>Note that exclude rules are not converted in system namespace, because they aren't 
     * transformable (the name space hasn't the ability to convert regular expressions).
     * However, method doesExclude will work with system artifacts.</i>
     * 
     * @param md
     * @param ns
     * @return
     */
Transforms the given dependency descriptor of the given namespace and return
a new dependency descriptor in the system namespace.

Note that exclude rules are not converted in system namespace, because they aren't
transformable (the name space hasn't the ability to convert regular expressions).
However, method doesExclude will work with system artifacts.

@param md
@param ns
@return
Transforms the given dependency descriptor of the given namespace and return a new dependency descriptor in the system namespace . Note that exclude rules are not converted in system namespace because they aren ' t transformable ( the name space hasn ' t the ability to convert regular expressions ) . However method doesExclude will work with system artifacts . @param md @param ns @return
public static DependencyDescriptor transformInstance(DependencyDescriptor dd, Namespace ns) {
        NamespaceTransformer t = ns.getToSystemTransformer();
        if (t.isIdentity()) {
            return dd;
        }
        DefaultDependencyDescriptor newdd = transformInstance(dd, t, false);
        newdd._namespace = ns;
        return newdd;
    }
public static DependencyDescriptor transformInstance ( DependencyDescriptor dd , Namespace ns ) { NamespaceTransformer t = ns . getToSystemTransformer ( ) ; if ( t . isIdentity ( ) ) { return dd ; } DefaultDependencyDescriptor newdd = transformInstance ( dd , t , false ) ; newdd . _namespace = ns ; return newdd ; }
Transforms the given dependency descriptor of the given namespace and return
 a new dependency descriptor in the system namespace.
Transforms the given dependency descriptor of the given namespace and return a new dependency descriptor in the system namespace .