[ 
https://issues.apache.org/jira/browse/SLING-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182316#comment-16182316
 ] 

Tobias Bocanegra commented on SLING-7155:
-----------------------------------------

one use case could be to pre-compile the scripts, so that they don't need to be 
recompiled during runtime. and as I said above, it would improve the robustness 
of the validation. e.g. detect typos in the use class references, or changes in 
the dependencies. 

> htl-maven-plugin: Add option to precompile the HTL scripts
> ----------------------------------------------------------
>
>                 Key: SLING-7155
>                 URL: https://issues.apache.org/jira/browse/SLING-7155
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>    Affects Versions: HTL Maven Plugin 1.0.8
>            Reporter: Tobias Bocanegra
>
> It would be cool if the HTL Maven Plugin could precompile the HTL scripts, 
> similar to the JSPC plugin.
> This would have the following advantages:
> * the project needs to specify all the (compile time) dependencies the 
> scripts needs; this makes the project more robust and changes in dependencies 
> are easier detectable;
> * the compiled classes could be used as source to generate the import-package 
> statements for the {{filevault-package-maven-plugin}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to