https://github.com/vladbailescu/sightly-submodules
Convenience project including all HTL implementation bundles as git submodules
https://github.com/vladbailescu/sightly-submodules
apache htl sightly sling
Last synced: about 2 months ago
JSON representation
Convenience project including all HTL implementation bundles as git submodules
- Host: GitHub
- URL: https://github.com/vladbailescu/sightly-submodules
- Owner: vladbailescu
- Created: 2017-10-23T14:44:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T14:26:29.000Z (over 7 years ago)
- Last Synced: 2025-01-18T03:28:46.445Z (4 months ago)
- Topics: apache, htl, sightly, sling
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Apache Sling Scripting - HTL implementation
====
*Convenience project including all HTL implementation bundles as git submodules*[](https://travis-ci.org/vladbailescu/sightly-submodules)
These bundles provide support for the HTL web templating language.
## Contents
1. `compiler` - `org.apache.sling.scripting.sightly.compiler`
The Apache Sling Scripting HTL Compiler provides support for compiling HTML Template Language scripts into an Abstract
Syntax Tree.
2. `java-compiler` - `org.apache.sling.scripting.sightly.compiler.java`
The Apache Sling Scripting HTL Java Compiler provides support for transpiling the Abstract Syntax Tree produced by the
`org.apache.sling.scripting.sightly.compiler` module into Java source code.
3. `engine` - `org.apache.sling.scripting.sightly`
The Apache Sling Scripting HTL Engine is a Java implementation of the HTL specification. The bundle contains the HTL
engine and its plugin framework implementation.
4. `js-use-provider` - `org.apache.sling.scripting.sightly.js.provider`
The Apache Sling HTL JavaScript Use Provider adds support for accessing JS scripts from Sightly's Use-API.
5. `repl` - `org.apache.sling.scripting.sightly.repl`
A simple Read-Eval-Print-Loop environment for testing simple HTL scripts
6. `testing-content` - `org.apache.sling.scripting.sightly.testing-content`
A bundle containing initial content for running integration tests
7. `testing` - `org.apache.sling.scripting.sightly.testing`
The testing project which builds a custom Sling Launchpad on which integration tests are run
## How To**Build**
```bash
mvn clean install
```**Test**
```bash
mvn clean verify
```**Play with HTL REPL**
```bash
cd testing
mvn clean package slingstart:start -Dlaunchpad.keep.running=true -Dhttp.port=8080
```
Then browse to [http://localhost:8080/htl/repl.html](http://localhost:8080/htl/repl.html).