You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/01/28 14:43:12 UTC

[jira] [Commented] (SLING-2463) Sling Script Console Plugin

    [ https://issues.apache.org/jira/browse/SLING-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564280#comment-13564280 ] 

Bertrand Delacretaz commented on SLING-2463:
--------------------------------------------

FWIW (I'm looking at committing the SLING-2715 patch), here's how to use this console:

1. Build and install the org.apache.sling.scripting.console found under contrib/scripting/script-console

2. Open /system/console/scriptconsole

3. Have fun.
                
> Sling Script Console Plugin
> ---------------------------
>
>                 Key: SLING-2463
>                 URL: https://issues.apache.org/jira/browse/SLING-2463
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>            Reporter: Chetan Mehrotra
>            Assignee: Felix Meschberger
>            Priority: Minor
>         Attachments: script-console.patch
>
>
> I have implemented a Felix WebConsole plugin for evaluating scripts making use of existing infrastructure present in Sling. It provides support for following items
> * Support evaluation of script in any language as supported by Sling e.g. Groovy, JavaScript, Ruby, Python etc. You would need to ensure that relevant language bundle is deployed
> * Code editor with syntax highlighting support based on CodeMirror Javascript library
> * Hot key support
> * Execute remote testcase via evaluating test scripts
> The code is pushed to my forked Git repo for Sling at [1]. Complete details about the plugin (with screen shots) is provided at [2].
> Comments and feedback welcome!!
> [1] https://github.com/chetanmeh/sling/tree/script-console
> [2] https://github.com/chetanmeh/c/wiki/Sling-Script-Console 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira