throws Exception {
String jcrPath = (String) cl.getValue(argJcrPath);
if (jcrPath == null) {
jcrPath = "/";
}
ConsoleFile wo = ctx.getFile(jcrPath, true);
if (wo instanceof RepositoryCFile) {
Node node = (Node) wo.unwrap();
try {
node.save();
System.out.println("Modifications persisted.");
} catch (RepositoryException e) {
throw new ExecutionException("Error while saving: " + e);