Hi devs,

I'm curious of the easiest way to copy a jcr node using the oak run  groovy
console. I know that's easily achievable from the workspace by using the
path and using the jcr Session:   session.getWorkspace().copy("/path/src",
"/path/dst/");
But from the oak run groovy console, all I have to start with is a
org.apache.jackrabbit.oak.console.ConsoleSession. I can't seem to find a
way to get the jcr workspace. Noob question 2: Should ConsoleSession
implement Session?

Thanks,
Andrei

Reply via email to