jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Moseley <...@osafoundation.org>
Subject Re: jcr command line client
Date Fri, 30 Sep 2005 20:54:04 GMT
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!

Mime
View raw message