[
https://issues.apache.org/jira/browse/OAK-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-1805:
---------------------------------
Attachment: OAK-1805-groovysh.patch
Patch which embed the groovysh [1] within oak-run.
* The shell is branded for Oak
* Makes use of all the features provided by groovysh command completion,
history, colored output etc
* Full power of Groovy!
* Most of current command implemented by Marcel ported
* Ability to execute script at command line itself similar to Mongo shell
Sample output
{noformat}
$ java -jar oak-run-1.1-SNAPSHOT.jar console mongodb://localhost:27017/oak
Apache Jackrabbit Oak 1.1-SNAPSHOT
Jackrabbit Oak Shell (Apache Jackrabbit Oak 1.1-SNAPSHOT, JVM: 1.6.0_45)
Type ':help' or ':h' for help.
-------------------------------------------------------------------------------------------------------------------
/> ls
:async
apps
bin
etc
/> cd
:async apps bin etc home
jcr:system
libs oak:index rep:policy rep:repoPolicy system
tmp
var
/> cd var
/var>
{noformat}
[1] http://groovy.codehaus.org/Groovy+Shell
> Debugging console
> -----------------
>
> Key: OAK-1805
> URL: https://issues.apache.org/jira/browse/OAK-1805
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: run
> Reporter: Jukka Zitting
> Labels: production, tools
> Attachments: OAK-1805-groovysh.patch
>
>
> It would be nice to for {{oak-run}} to come with a debugging console like the
> {{cli}} mode in {{jackrabbit-standalone}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)