Author: catholicon
Date: Sun Apr 24 20:16:40 2016
New Revision: 1740734
URL: http://svn.apache.org/viewvc?rev=1740734&view=rev
Log:
OAK-4298, OAK-4297: Update oak-run/console docs for --fds-path and using
--read-only for segment
Modified:
jackrabbit/oak/trunk/oak-run/README.md
Modified: jackrabbit/oak/trunk/oak-run/README.md
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/README.md?rev=1740734&r1=1740733&r2=1740734&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/README.md (original)
+++ jackrabbit/oak/trunk/oak-run/README.md Sun Apr 24 20:16:40 2016
@@ -85,11 +85,16 @@ To start the console for a DocumentMK/RD
$ java -jar oak-run-*.jar --rdbjdbcuser username --rdbjdbcpasswd password
console jdbc:...
-To start the console connecting to a DocumentMK repository in read-only mode,
use either of:
+To start the console connecting to a repository in read-only mode, use either
of:
+ $ java -jar oak-run-*.jar console --read-only /path/to/oak/repository
$ java -jar oak-run-*.jar console --read-only mongodb://host
$ java -jar oak-run-*.jar console --read-only --rdbjdbcuser username
--rdbjdbcpasswd password console jdbc:...
+To specify FDS path while connecting to a repository, use `--fds-path` option
(valid for segment and document repos):
+
+ $ java -jar oak-run-*.jar console --fds-path /path/to-data/store
/path/to/oak/repository
+
Console is based on [Groovy Shell](http://groovy.codehaus.org/Groovy+Shell)
and hence one
can use all Groovy constructs. It also exposes the
`org.apache.jackrabbit.oak.console.ConsoleSession`
instance as through `session` variable. For example when using
SegmentNodeStore you can