You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/03/15 14:35:06 UTC

[sling-org-apache-sling-scripting-esx] 07/10: SLING-6763 - suggest the new org.apache.sling.fragment.nashorn fragment bundle instead of editing sling.properties + tweaks

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-esx.git

commit 3ed041dd3ac57fc1aef8af1c8c0969ed6ed60fd2
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Tue Apr 11 09:33:35 2017 +0000

    SLING-6763 - suggest the new org.apache.sling.fragment.nashorn fragment bundle instead of editing sling.properties + tweaks
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1790948 13f79535-47bb-0310-9956-ffa450edef68
---
 README.md | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 3c74d20..30c595e 100644
--- a/README.md
+++ b/README.md
@@ -25,18 +25,16 @@ This module is considered **experimental** for now.
 ## Description
 This module implements a Nashorn Apache Sling Script Engine for the "esx" extension.
 
-It requires a function named `render` in the `esx` script that processes the request.
+It requires a function named `render` in the `esx` script that processes the 
+request.
 
-To activate this script engine you must first **enable Nashorn support** in the
-`sling.properties` file of your Sling instance:
+## Installation
+The `org.apache.sling.fragment.nashorn` bundle must be installed before this bundle, to export the `jdk.nashorn.api.scripting` package.
 
-```
-jre-1.8=jdk.nashorn.api.scripting;version\="0.0.0.1_008_JavaSE"
-```
-**attention**
-> currently this implementation only works with java version "1.8.0_92" and higher
+Currently this implementation requires **java version "1.8.0_92"** or higher
 
-Once the bundle is active, you can try the engine with this minimal (and not very interesting) example:
+## Usage
+Once this bundle is active you can try the engine with this minimal (and not very interesting) example:
 
 First create a node with some content:
 

-- 
To stop receiving notification emails like this one, please contact
rombert@apache.org.