Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting Sightly Engine 1.0.2
-
None
Description
The current implementation of the Sightly scripting engine depends on the JCR Compiler for generating Java classes from the Sightly script files. However, the JCR Compiler can be slow on some systems due to JCR's locking mechanisms.
Since Sling also provides the org.apache.sling.commons.fsclassloader, which implements a faster filesystem-based ClassLoaderWriter, it would be better to use a more generic approach for generating Java classes.