// to choose resources. Therefore, we should have a cached repository connection
// that is authenticated already. If not, something is really strange.
assert(webdav != null);
for (String oneResource:model.getResources()) {
// Get the metadata properties
ResourceProperties resprops = webdav.queryProperties(oneResource);
if (resprops == null) {
throw new Exception("Null resource properties for " + oneResource); //$NON-NLS-1$
}
String contents = webdav.getResourceContents(oneResource);
IPath targetLocation = new Path(model.getTargetLocation());