tree: 575d984aa84bc8157726b5aa2e3fb3f57751dc45 [path history] [tgz]
  1. org-apache-sling-scripting-examplebundle/
  2. org-apache-sling-scripting-examplebundle-classic/
  3. org-apache-sling-scripting-examplebundle-extend1/
  4. org-apache-sling-scripting-examplebundle-extend2/
  5. org-apache-sling-scripting-examplebundle-precompiled/
  6. org-apache-sling-scripting-examplebundle-precompiled-jsp/
  7. README.md
examples/README.md

Examples

Because some code is worth a thousand words...

The examples provided by the project also serve as integration tests and therefore they should always work and be relatively up-to-date. The bundles in this folder showcase how the org.apache.sling.scripting.bundle.tracker.

All the test endpoints will be in the resource tree under the /content/bundled-scripts/ folder.

All the servlets registered by the Apache Sling Scripting Bundle Tracker will have their providers registered in the /apps/org.apache.sling.scripting.examplebundle.* and /apps/sling/scripting/examplebundle* folders.

The integration tests using these bundles can be found here and you can find instructions to start a running sling instance with the provided examples here.