You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ch...@apache.org on 2013/07/22 11:33:14 UTC

svn commit: r1505639 - /felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext

Author: chetanm
Date: Mon Jul 22 09:33:14 2013
New Revision: 1505639

URL: http://svn.apache.org/r1505639
Log:
FELIX-4122 - Felix Script Console Plugin

Fixing formatting

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext?rev=1505639&r1=1505638&r2=1505639&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-script-console-plugin.mdtext Mon Jul 22 09:33:14 2013
@@ -15,6 +15,16 @@ features
 ### Installation
 Untill the bundle is released you would need to build it and deploy
 
+    $svn co https://svn.apache.org/repos/asf/felix/trunk/webconsole-plugins/script-console/
+    $cd script-console
+    $mvn clean install
+    $mvn org.apache.sling:maven-sling-plugin:2.1.0:install -Dsling.url=http://localhost:8080/system/console
+
+Install bundles for the Script Language you want to use
+
+* [Groovy](http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.1.6/groovy-all-2.1.6.jar)
+* [JRuby](http://repo1.maven.org/maven2/org/jruby/jruby/1.7.4/jruby-1.7.4.jar)
+
 ### Usage
 After installing it you would see a new tab "Script Console" in Felix Web Console.
 The plugin screen provides a textarea to author script code. One can select the language via the given dropdown. The generated
@@ -45,13 +55,11 @@ To access a service satisfying OSGi filt
     :::groovy
     def eventPlugin = osgi.getServices(javax.servlet.Servlet.class,'(felix.webconsole.label=events)')[0]
 
-
 Following hotkeys work
+
 * Ctrl+F9 - Execute the script
 * Ctrl+q - Clear the output
 
-To try out Groovy scripts just install the [Groovy Bundle](http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/1.8.6/groovy-all-1.8.6.jar)
-
 ### HTTP API
 The plugin can also be invoked by making POST request. It supports following parameters