Revision 42125 trunk/org.gvsig.desktop/pom.xml
pom.xml | ||
---|---|---|
1005 | 1005 |
<groupId>org.gvsig</groupId> |
1006 | 1006 |
<artifactId>org.gvsig.fmap.dal.swing.impl</artifactId> |
1007 | 1007 |
<version>2.0.92-SNAPSHOT</version> |
1008 |
</dependency>
|
|
1008 |
</dependency> |
|
1009 | 1009 |
<dependency> |
1010 | 1010 |
<groupId>org.gvsig</groupId> |
1011 | 1011 |
<artifactId>org.gvsig.newlayer.lib.api</artifactId> |
... | ... | |
1968 | 1968 |
String[] x = u.getPath().split("/"); |
1969 | 1969 |
String path = ""; |
1970 | 1970 |
|
1971 |
for( int i=1; i<x.length; i++ ) { path = path + "/" + x[i]; URL t = new URL(u,path) ; mkdir(t.toString()); } } public void mkdir(String url) throws Exception { |
|
1971 |
for( int i=1; i<x.length; i++ ) { |
|
1972 |
path = path + "/" + x[i]; |
|
1973 |
URL t = new URL(u,path); |
|
1974 |
mkdir(t.toString()); |
|
1975 |
} |
|
1976 |
}; |
|
1977 |
|
|
1978 |
public void mkdir(String url) throws Exception { |
|
1972 | 1979 |
if( ! exists(url) ) { |
1973 | 1980 |
log.info("[WEBDAV] mkdir '"+url+"'."); |
1974 | 1981 |
sardine.createDirectory(url); |
Also available in: Unified diff