Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2463

Sling Script Console Plugin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Scripting
    • None

    Description

      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

      Attachments

        1. script-console.patch
          208 kB
          Chetan Mehrotra

        Activity

          People

            fmeschbe Felix Meschberger
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: