SLING-9657 - Same-name JS Use dependencies are not always correctly resolved

* make sure to rely on the scriptingResourceResolver for solving all
script paths;
* in case of resource type hierarchies stop as soon as the dependency is found
1 file changed
tree: 7bdfdf1bddd5744f74cd6cc9a2a4aae8bb1ce7bb
  1. src/
  2. .gitignore
  3. bnd.bnd
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Build Status Maven Central JavaDocs License scripting

Apache Sling Scripting HTL JavaScript Use Provider

This module is part of the Apache Sling project.

This bundle allows HTL‘s Use API to access JS scripts. It also wraps Sling’s JS engine in a simulated event loop.

The bundle also contains a bindings values provider that adds an API layer accessible from HTL & JS. The implementation of that API can be found in src/main/resources/SLING-INF.