Edgar Poce wrote:

yes, I think the import command is already in the repo.

ah, i hadn't looked :)

there's a command that allows to run a script. I think I could add a
noninteractive mode that passes the script as the only parameter.
WDYT?

the call would be something like:

java -jar jcr-commands-xxxx.jar -script myscript.jcr

and the myscript.jcr...

startjackrabbit /repository.xml /repository
importxml xmlview.xml
stopjackrabbit

sounds perfect!

Reply via email to