You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2019/12/16 16:15:00 UTC
[jira] [Commented] (SLING-6779) The HTL compiler and Maven Plugin
should warn when using potentially invalid options
[ https://issues.apache.org/jira/browse/SLING-6779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997427#comment-16997427 ]
Radu Cotescu commented on SLING-6779:
-------------------------------------
[~andrei_shilov], sorry that I missed your comment. The option you're mentioning is a vendor specific one and should be handled at that layer. This implies configuring the HTL compiler in such a way that it recognises that option, respectively configuring the `htl-maven-plugin` to pass this option to the compiler.
> The HTL compiler and Maven Plugin should warn when using potentially invalid options
> ------------------------------------------------------------------------------------
>
> Key: SLING-6779
> URL: https://issues.apache.org/jira/browse/SLING-6779
> Project: Sling
> Issue Type: New Feature
> Components: Scripting
> Affects Versions: Scripting HTL Compiler 1.0.0, HTL Maven Plugin 1.0.6
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Compiler 1.2.0-1.4.0, HTL Maven Plugin 1.3.0-1.4.0, Scripting HTL Engine 1.2.0-1.4.0, Scripting HTL Testing 1.0.18-1.4.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I have the following code
> {code}
> ${currentPage.title @ contex = 'scriptString'}
> {code}
> No warning or error is given for the wrong option @ contex
--
This message was sent by Atlassian Jira
(v8.3.4#803005)