// class cast, null pointer
e.printStackTrace();
return;
}
IResource resources[] = { resource };
UpdateResourcesCommand cmd = new UpdateResourcesCommand(root,
resources, revision);
try {
cmd.run(monitor);
monitor.worked(1);
} catch (SVNException e) {
log.error("SVN Update failed.", e);
} finally {
monitor.done();