You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Rob Ryan <rr...@adobe.com> on 2016/08/06 01:16:37 UTC

[RHINO] SLING-5731: org.mozilla.javascript.tools (Rhino) package export

I'm hoping to attract  consideration of this JIRA issue (https://issues.apache.org/jira/browse/SLING-5731) in the near term.

In attempting to use serverside Handlebars templating (https://github.com/jknack/handlebars.java) we encountered the situation that Sling exports :

                             org.mozilla.javascript;version=1.1.0,

But not:
                            org.mozilla.javascript.tools;version=1.1.0,

in:
bundles/scripting/javascript/pom.xml.

Jknack Handlebars.java requires the tools package.

Naturally other components in the system don't work properly if we try to provide another export of Rhino. In particular some Sightly components break if they don't get the Rhino engine that is properly configured for them.

Is it feasible to update the export list to include the tools package? A patch is attached to the bug.

Thanks for your attention in any case,
-Rob Ryan
Adobe Systems