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:17:00 UTC

[jira] [Comment Edited] (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 edited comment on SLING-6779 at 12/16/19 4:16 PM:
---------------------------------------------------------------

[~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.

See an example for the second configuration at [0].

[0] - https://github.com/adobe/aem-core-wcm-components/pull/879/files#diff-06785c6c4064f4138325648231a99658R77


was (Author: radu.cotescu):
[~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)