Revision 42138 trunk/org.gvsig.desktop/pom.xml

View differences:

pom.xml
1968 1968
        String[] x = u.getPath().split("/");
1969 1969
        String path = "";
1970 1970

  
1971
        int i=1;
1972
        while(i<x.length){ path = path + "/" + x[i]; URL t = new URL(u,path);
1971
        for (int i=1; i<x.length; i++) {
1972
            path = path + "/" + x[i];
1973
            URL t = new URL(u,path);
1973 1974
            mkdir(t.toString());
1974
            i++;
1975 1975
        }
1976

  
1976 1977
    };
1977 1978

  
1978 1979
    public void mkdir(String url) throws Exception {

Also available in: Unified diff