Revision 41727

View differences:

trunk/org.gvsig.desktop/pom.xml
1950 1950
        URL u = new URL(url);
1951 1951
        String[] x = u.getPath().split("/");
1952 1952
        String path = "";
1953
        for( int i=1; i<x.length; i++ ) { 
1954
            path = path + "/" + x[i]; 
1955
            URL t = new URL(u,path) ; 
1956
            mkdir(t.toString()); 
1957
        } 
1958
    } 
1959
    
1953
        for( int i=1; i<x.length; i++ ) {
1954
            path = path + "/" + x[i];
1955
            URL t = new URL(u,path) ;
1956
            mkdir(t.toString());
1957
        }
1958
    }
1959

  
1960 1960
    public void mkdir(String url) throws Exception {
1961 1961
        if( ! exists(url) ) {
1962 1962
            log.info("[WEBDAV] mkdir '"+url+"'.");

Also available in: Unified diff